当 IDENTITY_INSERT 设置为 OFF 时,不能为表中的标识列插入显式值

set identity_insert table ON -- 打开

set identity_insert table OFF --关闭

猜你喜欢

转载自www.cnblogs.com/jasonlai2016/p/10393855.html