Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verifying two SQL commands
Message
 
 
À
20/02/2008 15:42:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01294455
Message ID:
01294464
Vues:
18
>>Try
>>SELECT * From MyTable WHERE LEN(RTRIM(MyField))>0
>>
>
>Is this supported as is in SQL Server?
>
>Also, if it is, then the minor difference with mine would only be to use RTRIM instead of ALLTRIM. Could you elaborate on that topic as to know why you suggest RTRIM? Is it because it is supported in SQL Server as well?

SQL Server doesn't have ALLTRIM function but has RTRIM/LTRIM.

See http://fox.wikis.com/wc.dll?Wiki~VFPSQL-TSQL-Mapping
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform