Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALLTRIM syntax not support with SQL Server
Message
De
10/04/2003 09:21:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/04/2003 09:05:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00775890
Message ID:
00775997
Vues:
11
>>I doesn't generate extra spaces in VFP8 for me.
>
>I have it all the time. The following, either from a datetime or date field, generates some extra spaces between the 4 digits of the date and the letter A when being printed:
>
>
>SELECT LTRIM(RTRIM(STR(YEAR(AddDate)))) AS lcChampNumero FROM News
>? lcChampNumero+'A'
>
Michel,
LTRIM(STR(YEAR(AddDate)))
works for me in VFP and SQL. You don't need rtrim().
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform