SQL中关闭自增键

SET IDENTITY_INSERT dbo.UserDB ON
  INSERT INTO UserDB(ID,UserName,HomeURL) VALUES (2,'NULL','www.51laugh.cn')
SET IDENTITY_INSERT dbo.UserDB OFF

posted @ 2019-07-29 08:55  瘋孑  阅读(151)  评论(0编辑  收藏  举报