📅  最后修改于: 2022-03-11 15:00:29.530000             🧑  作者: Mango
SET IDENTITY_INSERT archive_table ON;
INSERT INTO archive_table (field1, field2, ...)
SELECT field1, field2, ...
FROM source_table;
SET IDENTITY_INSERT archive_table OFF;