Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function like VFP Empty
Message
 
 
To
05/10/2001 17:31:52
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00565022
Message ID:
00565031
Views:
19
You can use
Select * from Table
where Field1 is not null and LEN(RTRIM(Field1)) > 0
   or
Select * from Table
where LEN(RTRIM(ISNULL(Field1, ''))) > 0
>Is there any function in SQL 7 that works like VFP EMPTY(). OR can I create one that I can use in a select statement.
>
>I have been doing this:
>
>Select * from Table
>where Field1 is not null and
>field 1 <>''
>
>Hope I can do this:
>
>Select * from Table
>where not empty(Field1)
>
>Thank You
>Miles
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform