Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALLTRIM syntax not support with SQL Server
Message
De
10/04/2003 08:16:02
 
 
À
10/04/2003 04:52:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00775890
Message ID:
00775953
Vues:
16
>You could use ltrim(),rtrim() as Liam said. Alternatively you could use the convert function :
>
SQLExec(lnHandle,'SELECT convert(char(4),YEAR(AddDate)) FROM News')
Ok, this is good. As you may read in the other message I just created in this thread, I was looking for a way to remove the extra spaces at the end. So, this does it ok. However, this SQL syntax only work in SQL Server. Wouldn't there be a way to have a common SQL Syntax to be supported for VFP native table and SQL Server?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform