sql导数据 自增长

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

set identity_insert [tablename] on   

insert into **
....

set identity_insert [tablename] off

  

posted @ 2011-12-01 12:39  乄蛇  阅读(155)  评论(0编辑  收藏  举报