Gossamer Forum
Home : General : Databases and SQL :

Re: [Paul] A query

Quote Reply
Re: [Paul] A query In reply to
Paul,
Your select fails because you are searching for a numeric value on a NULL field.
The NULL value means no data, and is different from values such as 0 for numeric types or the empty string for string types.
If you add a value to your NULL field then it will work.
Check your mySQL docs.
3.3.4.6 Working with NULL Values
6.1.1.4 NULL Values
A.5.3 Problems with NULL Values

Bob
http://totallyfreeads.com
Subject Author Views Date
Thread A query Paul 13662 Aug 16, 2002, 3:17 AM
Thread Re: [Paul] A query
lanerj 13174 Aug 16, 2002, 6:06 AM
Thread Re: [lanerj] A query
Paul 13219 Aug 16, 2002, 6:27 AM
Thread Re: [Paul] A query
lanerj 13163 Aug 16, 2002, 7:45 AM
Thread Re: [lanerj] A query
Paul 13175 Aug 16, 2002, 8:15 AM
Thread Re: [Paul] A query
Stealth 13179 Aug 16, 2002, 9:05 AM
Thread Re: [Stealth] A query
Paul 13143 Aug 16, 2002, 9:06 AM
Thread Re: [Paul] A query
Alex 13116 Aug 16, 2002, 12:39 PM
Post Re: [Alex] A query
Paul 13121 Aug 16, 2002, 12:42 PM
Thread Re: [Alex] A query
Paul 13115 Aug 16, 2002, 12:49 PM
Post Re: [Paul] A query
Alex 13112 Aug 16, 2002, 1:00 PM