Re: Cannot update identity column
From: Anith Sen (anith_at_bizdatasolutions.com)
Date: 02/04/05
- Next message: Steve: "Re: Frequency distribution SQL statement"
- Previous message: Steve: "Re: Frequency distribution SQL statement"
- In reply to: David Gugick: "Re: Cannot update identity column"
- Next in thread: David Gugick: "Re: Cannot update identity column"
- Reply: David Gugick: "Re: Cannot update identity column"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 4 Feb 2005 12:17:31 -0600
>> You can update an identity by using the SET IDENTITY_INSERT ON / OFF
>> function before the update.
Are you sure?
Identity columns are non-updateable. The only way one could alter the
identity column value is to delete and insert the same data within a single
transaction. But then, any existing references on this column could all be
messed up.
-- Anith
- Next message: Steve: "Re: Frequency distribution SQL statement"
- Previous message: Steve: "Re: Frequency distribution SQL statement"
- In reply to: David Gugick: "Re: Cannot update identity column"
- Next in thread: David Gugick: "Re: Cannot update identity column"
- Reply: David Gugick: "Re: Cannot update identity column"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|