>>   
>>     
>>> What would you use in an sql select statement for sql server to
>>> replace 
>>> empty() function of vfp.  I would like to do the following in t-sql
>>>
>>> Select  items.item_num , iif(!empty(addl_loc_info),.t.,.f.)
>>>       
I never messed with it a lot, so there's probably a better way, but I 
just test against an empty value.  eg, Addl_loc_info = ' ', ncost = 
0.00, etc.  Need 1 space between the quotes in the first example, as an 
empty string '' doesn't work.


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to