Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DTC - determining which field caused an import error
Message
De
27/04/1999 10:44:37
 
 
À
26/04/1999 23:09:31
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Divers
Thread ID:
00211303
Message ID:
00212470
Vues:
32
>So if this is the case, how to go about to ensure a successful mirgration
>of DBF data to SQL Server?

You'll have to convert empty dates to something SQL Server will understand. You could handle it on the FoxPro side by replacing the empty dates with NULLs or maybe Jan 1, 1900 which is SQL Server's zero date.

Within DTS, you'd have to write some ActiveX script to test for the empty date and convert it to something else. I'm not sure what a VFP empty date looks like in ActiveX script. In VB it was a very small number, -2 million + change. If you find it out, please e-mail me at mlevy@isresearch.com. DTS and VFP is the topic of my next article for FoxTalk.
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform