Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL 7 empty() function
Message
From
03/07/2000 12:26:12
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
 
To
30/06/2000 08:09:22
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00386731
Message ID:
00387777
Views:
15
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!
Previous
Reply
Map
View

Click here to load this message in the networking platform