In SQL you have to use IS NULL, but CF has no concept of NULL, AFAIK. Russ
> -----Original Message----- > From: Dave Francis [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 31, 2007 10:04 AM > To: CF-Talk > Subject: RE: EQ vs IS > > It's all a bit hazy, but I seem to remember having to use IS NULL because > EQ > NULL returned false results. > > > -----Original Message----- > From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 30, 2007 8:38 PM > To: CF-Talk > Subject: RE: EQ vs IS > > > They are the same. Some people like to use EQ for numeric values and IS > for > strings just to make it easier to read/follow the code. Other than that... > they are no different... they are even the same number of bytes toward the > overall file size :-) > > -----Original Message----- > From: David Gardner [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 30, 2007 7:24 PM > To: CF-Talk > Subject: EQ vs IS > > If this has been through the ringer already, forgive me. Just give me > the verdict. No reason to rehash anything. > > On MX 7.... > > My old supervisor told me that "EQ" was better to use than "IS" when > comparing things. His info is usually based on fact, so I've taken > that as rote. > > I've done some tests, but neither seems consistently victorious. > > Is there an agreed-upon conclusion on this issue, or do different > folks have their opinions? > > > I'm optomizing some code that's causing someone's server to crash. > I'm wondering if I need to take the time to convert all the IS to EQ > or vice versa? > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268219 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4