sql导数据 自增长

A表数据向导B表中的去的时候,如果有自增长列则导入失败,这是加上

set identity_insert [tablename] on   

insert into **
....

set identity_insert [tablename] off

  

原文地址:https://www.cnblogs.com/tony312ws/p/2270390.html