INF: Appending Data from Access Table to SQL Table |
Q152035
When 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.
SQL 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 OFF
Additional query words: counter field 544 ODBC
Keywords :
Issue type :
Technology : kbSQLServSearch kbAudDeveloper kbSQLServ600
|
Last Reviewed: March 27, 1999 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |