BUG: BCP Into a Table w/ IDENTITY Column Cannot Be PerformedID: Q136533
|
A bulk copy into a table with an IDENTITY column cannot be performed when a value for the IDENTITY column has not been specified in the data file.
To work around this problem, do one of the following:
-or-
Microsoft has confirmed this to be a problem in SQL Server versions 6.0 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
BCP IN into a table will work if any value is specified for the IDENTITY column. You can use the /E option when identity values are present within the table to be imported. Without the /E option, the SQL Server will generate identity values for the rows.
Additional query words: sql6 import temp tbl insert/select
Keywords : kbtool SSrvBCP kbbug6.50 kbbug6.00
Version : WINNT:6.0 6.5
Platform : winnt
Issue type : kbbug
Last Reviewed: April 16, 1999