Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7 - SQL Server char to datetime error
Message
From
26/01/2003 19:18:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
VFP 7 - SQL Server char to datetime error
Miscellaneous
Thread ID:
00745586
Message ID:
00745586
Views:
48
I am migrating a number of tables from native VFP tables to SQL Server as part of an upgrade project. I have a simple program that opens the VFP table and a remote view to the SQL Server table, then loops through the VFP table doing a SCATTER MEMVAR and INSERT FROM MEMVAR into the SQL Server table and a TABLEUPDATE().

This works perfectly well most of the time, but some records generate error from the SQL Server about a type mismatch converting a char field to a datetype. The error seems to be almost random and not related to the data being converted. Has anyone had a similar problem or got suggestions?

Thanks,

Brian
Next
Reply
Map
View

Click here to load this message in the networking platform