📜  表中标识列的显式值 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:29.530000             🧑  作者: Mango

代码示例1
SET IDENTITY_INSERT archive_table ON;

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

SET IDENTITY_INSERT archive_table OFF;