Article ID: 167867
Article Last Modified on 10/3/2003
APPLIES TO
- Microsoft SQL Server 6.5 Standard Edition
This article was previously published under Q167867
BUG #: 1319 (Starfighter65)
SYMPTOMS
When inserting into a SQL Server table using the SQL Server Distributed
Management Object's (SQL-DMO's) BulkCopy object, automatically incremented
values are inserted into the table's identity column based on the identity
column's seed. The values in the source file are not inserted into the
identity column. This occurs even when BulkCopy's IncludeIdentityValues
property is set to True.
STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server
version 6.5. We are researching this problem and will post new information
here in the Microsoft Knowledge Base as it becomes available.
REFERENCES
For more information about the BulkCopy object's IncludeIdentityValues
property, query on "IncludeIdentityValues" in SQL Server Books Online.
For sample code using the BulkCopy object, see the following article in
the Microsoft Knowledge Base:
152801
: INF: Examples of Sp_OA Procedure Use and SQLOLE.Transfer Object
Additional query words: error message DMO
Keywords: kbbug kbhardware kbenv kbpending KB167867