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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only