Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equiv. of EMPTY() in SQL Server
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01247781
Message ID:
01247977
Views:
16
Hi

>Depends on what you store. If you don't pass a value, for example, SQL servers set the field to NULL. Therefore in most case, it would be FIELD IS NULL or FIELD IS NOT NULL. For strings you could check the length. However, be aware that empty strings are not supported on all SQL servers like Oracle.

This was for a filled in column, so LEN() was okay, plus currently Oracle is not used so no problem there.

Thanks.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform