Answers for "identity insert in sql server by query"

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 "identity insert in sql server by query"

Code answers related to "SQL"

Browse Popular Code Answers by Language