Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP to SQL Import Errors
Message
De
26/04/2005 13:05:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01008543
Message ID:
01008545
Vues:
18
>I am trying to import a VFP table into a SQL database from within
>the Enterprise Manager.
>
>The import process errors for any table with a date. By default it wants
>to create a 'smalldatetime'.
>
>The error I'm getting is the same for all date fields in any table with a date:
>
>"Insert error, column 8('inactdate', DBTYPE_DBTIMESTAMP), status 6: Data overflow.
>Invalid character value for cast specification"
>
>Anyone know whats wrong here?

There are empty dates in your VFP data. Get them as nulls and set your SQL server table to accept nulls on datetime fields.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform