Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in Importing Data from Vfp to Sql Server
Message
De
09/12/2004 05:35:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00967944
Message ID:
00967966
Vues:
7
>SqlServer does not supp[ort DATE type fields. It support DateTime type fields only. You must convert Your Date to DateTime with DTOT() or pass it as a string (I never tested this, but books convince me it's work) with format "yyyymmddhhmmss".

SQL server doesn't have a date datatype but conversion is automatic when only date is passed.
PS: Yes 'yyyymmddhhmmss' string format is canonical ODBC format that also works.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform