all groups > sql server programming > october 2004 >
You're in the

sql server programming

group:

Error in Data Conversion


Error in Data Conversion Luqman
10/26/2004 11:30:49 PM
sql server programming:
I am trying to transfer data from Visual Foxpro Table Version 7.0 to Sql
Server 2000 through
Sql Server Query:-

Insert into mySqlTable
Select DCode,PurDate,Amount from
OpenDataSource('VFPOLEDB.1','Data Source=D:\FAST-DTML;')...DC_DASET

But following Error occured.


OLE DB provider 'VFPOLEDB.1' supplied inconsistent metadata for a column.
Metadata information was changed at execution time.
OLE DB error trace [Non-interface error: Column 'Amount' (compile-time
ordinal 16) of object 'DC_DASET' was reported to have a PRECISION of 5 at
compile time and 4 at run time].

Any idea what is the reason ?

Best Regards,

Luqman


RE: Error in Data Conversion gmrau NO[at]SPAM online.microsoft.com
11/2/2004 4:53:40 PM
Hi,
Try creating an ODBC connection to the FoxPro database and use Linked
server OpenQuery to perform the same operation.

Regards,
Gayathri Rau [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button