Re: selecting fields with NULL

2005-03-29 Thread SGreen
"leegold" <[EMAIL PROTECTED]> wrote on 03/29/2005 04:58:11 PM: > Hi, > > I understand that we should use "IS" instead of "=" for selecting fields > with NULL. But then, shouldn't the statement below cause a syntax error? > Please e

selecting fields with NULL

2005-03-29 Thread leegold
Hi, I understand that we should use "IS" instead of "=" for selecting fields with NULL. But then, shouldn't the statement below cause a syntax error? Please explain. select * from test2 where datecurrent=NULL; Thanks, Lee -- MySQL General Mailing Lis