1.使用局部临时表来调整自增长列
select * from #newtemp from grade --相当于备份 truncate table grade--删除数据 insert into grade select classname from #newtemp
2.使用全局临时表来调整自增长列
select * from ##temp from grade --相当于备份 truncate table grade--删除数据 insert into grade select classname from ##temp
标签:删除,grade,into,SQL,Server,--,表中,临时,select From: https://www.cnblogs.com/microsoft-zh/p/17513738.html