INF: Appending Data from Access Table to SQL TableLast reviewed: May 2, 1997Article ID: Q152035 |
The information in this article applies to:
SUMMARYWhen you insert or append data from Microsoft Access to a Microsoft SQL Server table containing an identity column, you must ensure that the IDENTITY_INSERT option is set to ON in order to maintain the existing values for the corresponding Access column.
MORE INFORMATIONSQL Server automatically generates values for an identity column when a row is inserted, and there is no need to specify a value for that column. You can override this behavior on a per connection basis by setting the IDENTITY_INSERT property to ON. Applications attempting to insert a specific value into an identity column will stop with the message:
Attempting to insert explicit value for identity column in table '<table name>' when IDENTITY_INSERT is set to OFFTo insert an explicit value into the identity column, follow these steps:
|
Additional query words: counter field 544 ODBC
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |