Empty Field and NULL are different.

If you want the NULL FIELDS then :     

where members.speakers IS NULL 


If you want empty Fields:

where LEN(members.speakers) = 0



-----Original Message-----
From: Tim Laureska [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 05, 2006 8:56 AM
To: CF-Talk
Subject: CF SQL question

I hope this is an easy one. using SQL Server 2000..  Have a query trying
to test for empty fields. tried the following and other variations but
no luck:

 

where members.speakers IS NOT "" 

 

Get this error:

 

[Macromedia][SQLServer JDBC Driver][SQLServer]Cannot use empty object or
column names. Use a single space if necessary.

 

Any help would be appreciated

 

Thanks

Tim






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255640
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to