Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
pharoah35
Yak Posting Veteran
81 Posts |
Posted - 2003-06-27 : 09:58:58
|
| HelloI am attempting to import data from an Excel spreadsheet into SQL 2000I have 1 spreadsheet with 6 column headingsProdID, Customer, Vendor, EffDate, EndDate, FixedPriceI SQL Table with the same columnsProdID int Customer nvarcharVendor varcharEffDate datetimeEndDate datetimeFixedPrice moneyWhen I attempt to import the data from my spreadsheet into the SQL table using DTS, I get the following error:Error during transformation 'DirectCopyXForm' for row number 66.Errors encountered so far in this task: 1TransFormCopy 'DirectCopyXForm' conversion error:Destination does not allow NULL on column pair 1 (source column 'ProdID' (DBTYPE_R8), Destination column 'ProdID' (DBTYPE_14))Is there another way to import data into a SQL table which has a no NULL.Any help concerning this issue would be greatly appreciated.Thanks in advancepharoah35 |
|
|
mr_mist
Grunnio
1870 Posts |
Posted - 2003-06-27 : 10:05:09
|
| Find the blank cells in the excel file and put a value in them, or apply a default value for the not null column on the table. ?-------Moo. |
 |
|
|
|
|
|