army20 Posted November 13, 2005 Share Posted November 13, 2005 Salut !What I'm trying to do is to search for data in all the columns from a table. I'm using mySQL 5 and I'm making my query using the mySQL command line utility.Let's say that I have a table with 10000 records and 25 columns and I'm searching for any null value anywhere in the table.I've tried : SELECT * FROM mytable WHERE * IS NULL; but it's not working.Do IO have to list all columns on by one to get this done or is there any solution to my problem ?Thanks-Martin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now