Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALLTRIM syntax not support with SQL Server
Message
De
10/04/2003 03:26:18
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
 
À
10/04/2003 02:04:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00775890
Message ID:
00775908
Vues:
13
Hi Michael,

LTrim() will remove the leading blanks. LTrim(RTrim()) Will remove leading and trailing blanks.

Regards,

Liam



>Anyone can tell me why this is not working and what I should do to make it work?
>
>
>? SQLExec(lnHandle,'SELECT ALLTRIM(STR(YEAR(AddDate))) FROM News')
>
>
>This would work:
>
>
>? SQLExec(lnHandle,'SELECT STR(YEAR(AddDate)) FROM News')
>
>
>But, spaces are present in front of the field value in the cursor.
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform