how to turn identity_insert on and off in sql server code example
Example 1: identity_insert is set to off
SET IDENTITY_INSERT tbl_content ON
Example 2: set identity_insert off
SET IDENTITY_INSERT [ [ database_name . ] schema_name . ] table_name { ON | OFF }