Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get date format programaticly...???
Message
De
23/08/2002 12:41:13
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00692775
Message ID:
00693009
Vues:
22
Don't mess with trying to figure out SQL Server's date format. If you're going to send a datetime to SQL Server as a string, format it as YYYYMMDD. No matter how SQL Server is configured, this format will always be intrepreted correctly.

-Mike

>I'm using VFP 7 as front end and MsSQL 2000 as back end. When users run my application and a date is pushed to SQL, depending on there regional setting (Date format),it will fail.
>
>ex:
>SQL Dateformat is Set to MDY and the user local machine is set to DMY format it will fail.
>
>How can I get programaticly the SQL DATE format?
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform