CF is mostly typeless and mostly doesn't have a null. This all changes in the Query Object, which keeps track of nulls and column types.
Test it for yourself; set up a table with a few rows; give each row a PK and in a second column leave some cells null and for others insert some strings or whatever. Then select all the rows and do a QoQ that returns rows WHERE whatevercolumn IS NULL. Now do the same QoQ except select rows WHERE whatevercolumn = ''. Notice that the two QoQ produce different results. Tested on Orcale 9i, CF 6.1. On 12/29/05, Claude Schneegans <[EMAIL PROTECTED]> wrote: > >>A QoQ with an IS NULL condition correctly returns rows with a null in > the column in CF 6.1 > > Hmmm, since AFAIK CF doesn't know the difference between a NULL and an > empty column in a query, > I'm not sure if it "correctly returns rows with a null in the column" > or if it "uncorrectly returns rows with an empty sting in the column" ;-/ -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227838 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

