Troubleshooting

Error 8102

Severity Level 16
Message Text

Cannot update identity column '%.*ls'.

Explanation

You have specifically attempted to alter the value of an identity column in the SET portion of the UPDATE statement. You can only use the identity column in the WHERE clause of the UPDATE statement.

Action

Updating of the identity column is not allowed. To update an identity column, you can use the following techniques:

See Also

bcp Utility

INSERT

SET IDENTITY_INSERT

sp_rename

UPDATE