Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALLTRIM syntax not support with SQL Server
Message
 
À
10/04/2003 09:36:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00775890
Message ID:
00776012
Vues:
13
You could use STR(YEAR(AddDate),4) instead.

>>LTRIM(STR(YEAR(AddDate)))
>>works for me in VFP and SQL. You don't need rtrim().
>
>Ok, but there is still the issue of extra spaces. As I need to use that field for comparism down under, it would have been nice to trim it entirely.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform