RE: [PHP-DB] finding records wiht non-null columns

2002-01-03 Thread Bjarte Husebo
PM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] finding records wiht non-null columns > > > Is there a better query than > > SELECT * > FROM some_database > WHERE some_column <> "" > > I had tried > > WHERE some_column <> NULL but that didn&#

RE: [PHP-DB] finding records wiht non-null columns

2002-01-03 Thread Leotta, Natalie (NCI/IMS)
Jonathan Hilgeman [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 03, 2002 11:21 AM > To: 'bill' > Cc: '[EMAIL PROTECTED]' > Subject: RE: [PHP-DB] finding records wiht non-null columns > > ...WHERE some_column IS NOT NULL; > > - Jonathan >

RE: [PHP-DB] finding records wiht non-null columns

2002-01-03 Thread Jonathan Hilgeman
...WHERE some_column IS NOT NULL; - Jonathan -Original Message- From: bill [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 8:19 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] finding records wiht non-null columns Is there a better query than SELECT * FROM some_database WHERE

[PHP-DB] finding records wiht non-null columns

2002-01-03 Thread bill
Is there a better query than SELECT * FROM some_database WHERE some_column <> "" I had tried WHERE some_column <> NULL but that didn't work. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont