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
Documentation for Palo Alto PA 500 firewall
Copy multiple files from Unix to Windos: VBS
Exchange 2010 Domain Prep
Binding List<Class> to DropDownList C#
Database on a 64 bit OS - Conection issues
Cisco PIX 506E configuration for VPN pass through
Hard drive not bootable
User's Web-Based AOL Mail is sending spam to all his contacts
Problem with Microsoft Transporter Suite
Major help is needed customizing the Windows 7 default user profile