SQL: Insert custom value into IDENTITY column

SET IDENTITY_INSERT clienttable ON

insert into EmployeeTable ...

SET IDENTITY_INSERT clienttable OFF

Comments

Popular posts from this blog

Error 401.1 "Unauthorized: Access is denied due to invalid credentials"

SQL Server 2005: MUST_CHANGE is ON