Microsoft
Software
Hardware
Network
Question : Updating an identity column
I have an ms sql server database table, with an identity column. What I need to do is to turn off identity and the update all rows then turn the identity back on. The column is also the primary key. can anyone assist?
Answer : Updating an identity column
Use SET IDENTITY_INSERT to allow updates/inserts to the identity column.
set identity_insert tbl on;
update tbl set idcol = somenewformula;
set identity_insert tbl off;
Random Solutions
HTML table
How to determine eclipse version?
Exchange ISNTEG Utility Test Results
IIS7 - Server.CreateObject Failed
Script to enable folder auditing
Expanding virtual disk Raid 5 on Dell Server PowerEdge 2950
sms gateway in asp.net
Microsoft VBScript runtime error '800a0009', Subscript out of range: '42'
ActiveSync http error 500/400--All mobile devices--
Hyperlink issues