Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Universal date format for SQL request
Message
De
14/10/2004 06:14:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Universal date format for SQL request
Divers
Thread ID:
00951317
Message ID:
00951317
Vues:
68
Hello,

From VFP8, I execute some SQL requests through ODBC.
The data sources can be SQL Server, DBF tables (odbc), MySQL, and so on...
A problem appears when I want to construct requests with dates.
According to the SQL system, the syntax for dates are different.
Ex.: ...where date='10-14-2004' works on SQL server but does not work with DBF tables.
Is there a 'universal' syntax which can work on all SQL systems ?
Any tips ?

Thanks for your help.
Regards,
Steph
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform