Answers for "An explicit value for the identity column in table"

0

An explicit value for the identity column in table

SET IDENTITY_INSERT archive_table ON;

INSERT INTO archive_table (field1, field2, ...)
  SELECT field1, field2, ...
  FROM source_table;

SET IDENTITY_INSERT archive_table OFF;
Posted by: Guest on February-10-2021

Code answers related to "An explicit value for the identity column in table"

Browse Popular Code Answers by Language