Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equiv. of EMPTY() in SQL Server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Divers
Thread ID:
01247781
Message ID:
01247977
Vues:
17
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
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform