Answers for "turn on and off identity insert"

SQL
9

identity insert on sql server

SET IDENTITY_INSERT sometableWithIdentity ON

INSERT sometableWithIdentity (IdentityColumn, col2, col3, ...)
VALUES (AnIdentityValue, col2value, col3value, ...)

SET IDENTITY_INSERT sometableWithIdentity OFF
Posted by: Guest on December-18-2019

Code answers related to "turn on and off identity insert"

Code answers related to "SQL"

Browse Popular Code Answers by Language