Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Supporting syntax in VFP
Message
 
 
À
20/12/2010 21:35:53
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 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01493411
Message ID:
01493418
Vues:
73
>>You need to group by some field and also CHAR and CONVERT are SQL Server functions. Although it's easy enough to find VFP replacements.
>>
>>Can you explain what do you want to achieve?
>
>If it would have been ANSI SQL, I would have been able to get rid of supported code I need to keep in place for a VFP backend. So, it will remain as is. Thanks for the reply

It is ANSI SQL and you can use it as is except that there is no CONVERT function in VFP, but we have CAST function. So, you can even use it as is by replacing CONVERT with CAST and adding GROUP BY.

However, using DTOS is simpler.

In SQL Server, it's also simple to use CONVERT with the specific code rather than this complex code you have.
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