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
From TQuery to TADOQuery.
KDC errors in middle of the night - had to reboot to get server back up
Win RAR
How Unlock Ipod Touch If You Forget Your Passcode
Datalist reset all its items when OnItemCommand is fired
Delete blank line from textarea
How can I determine if the firewall is not letting through certain TCP packets?
Error running scheduled task in Windows Server 2008
Raid 1 mirror Bad block discovered
SCCM OSD deployment to Hyper-v R2