Trying to do a simple select query that
filters out records against a date column.
I want all records with an empty value in
the date column. 

Here's my query...

<cfquery name="getData" datasource="cfDS" dbtype="ODBC">
SELECT     *
FROM     tblCustomers
WHERE     dateUpdated <> ''
</cfquery>

...which blows up with this error;
===================================
ODBC Error Code = 22005 (Error in assignment)
Data type mismatch in criteria expression.
===================================

I'm assuming it's choking on the quotes. 
So what's the correct syntax?





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to