Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upsizing Foxpro 2.6 Tables to SQL
Message
De
18/08/2003 08:25:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
18/08/2003 08:20:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00820988
Message ID:
00820991
Vues:
17
>I'm trying to move a few Foxpro for Windows Tables to a SQL Database (destination table exists) and I'm running into a few issues with the datetime fields on the SQL side. Is there a way in Foxpro to adjust the source table's date fields to eliminate multiple additional passes on the destination table to correct datetime fields. What happens is a empty datefield is defaulting to 12:00 am January 1st 1899 on the SQL side.
>
>thanks,
>
>Don

Don,
SQL server datetime fields cannot have empty values but .null. Set your table on SQL server to accept null for datetime fields and either send them as null or do not send at all.
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