Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function like VFP Empty
Message
 
 
À
05/10/2001 23:49:55
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00565022
Message ID:
00565100
Vues:
24
No it's not. I don't know about DB/2 but in Oracle I think it will look like this
 Select * from Table
 where LENGHT(RTRIM(NVL(Field1, ''))) > 0
>Sergey,
>
>PMFJI, but is the syntax you present cross-platform? Will it run on DB/2 and Oracle?
>
>Thanks...
>
>>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
>>
>>
< SNIP >
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform