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
How do you create a manual SOAP request to a web service in C#?
one code fits all : INDY9 or INDY 10 with D7 or D2005 or D2010Question:
Creating a new Array and Logical Drive
Itunes Boujour Service Errors
Network issues loading company web-site
how do I conditionally format number in query result to show red if negative
XP Compatibility Mode - Intermittant - Drives mapped to Host Machine don't work
How to run app on local machine and display results in web page
Bad Request error
FAXCOOLWAREZ037 192.168.1.38 00-1A-73-C3-39-8A