Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL 7 empty() function
Message
De
03/07/2000 12:26:12
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
 
 
À
30/06/2000 08:09:22
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00386731
Message ID:
00387777
Vues:
14
Thanks for the suggestion.

Gary

>>Hi,
>>I'm converting a VFP app to run against an SQL Server backend so I'm having to put some of the functions into SQL Server sp's. I want to test a parameter sent to a stored procedure to see if anything was passed. In VFP I'd use empty() but nothing like that seems to exist in SQL Server. Anyone got any ideas? Thanks.
>
>
>You Could Use an expression like "LEN(ISNULL(@Param, '')) >0" to test if your Varchar variabile will not be NULL or Empty.
>
>Emanuele!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform