![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Using DTS, I am trying to import a numeric field (5,3) in Visual Foxpro into a field in a SQL table, but keep getting this not-very-helpful error message: "Error at source for row # 12. Multiple-step OLE DB operation generated errors. Check each OLD DB status value, if available. No work was done." (Row # 12 is the first row with a value >= 1.0.) As long as the source file contains only values <1.0, the import works. (All other columns import without a problem.) I have tried importing into a decimal data type field using various combinations of precision and scale values in the SQL table column definition. Likewise, I have tried importing into a floating data type field. All to no avail. Anybody have any ideas? |
#3
| |||
| |||
|
|
Hi Frank, An N(5, 3) field has width 5 including the decimal point. Since Numeric fields are stored as characters in Fox tables there are 5 characters allocated but you can actually enter invalid values such as 123.5 in the field. This confuses your middleware (Jet, ODBC, OLE DB) and the result is that it won't import the data. Is this a one-time operation with a (relatively) small table that you could zip up and send to me? I could change the field to a different data type that would import successfully. -- Cindy Winegarden MCSD, Microsoft Most Valuable Professional cindy (AT) cindywinegarden (DOT) com "Frank Ford" <FrankFord (AT) discussions (DOT) microsoft.com> wrote in message news:7493DFD2-193A-41E0-B953-B0B53F4B0DD9 (AT) microsoft (DOT) com... Using DTS, I am trying to import a numeric field (5,3) in Visual Foxpro into a field in a SQL table, but keep getting this not-very-helpful error message: "Error at source for row # 12. Multiple-step OLE DB operation generated errors. Check each OLD DB status value, if available. No work was done." (Row # 12 is the first row with a value >= 1.0.) As long as the source file contains only values <1.0, the import works. (All other columns import without a problem.) I have tried importing into a decimal data type field using various combinations of precision and scale values in the SQL table column definition. Likewise, I have tried importing into a floating data type field. All to no avail. Anybody have any ideas? |
![]() |
| Thread Tools | |
| Display Modes | |
| |