Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DTC - determining which field caused an import error
Message
From
27/04/1999 10:44:37
 
 
To
26/04/1999 23:09:31
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
00211303
Message ID:
00212470
Views:
30
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform