Jump to content

Finding data from all collumns


Recommended Posts

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


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...