IDentity 是一个自动增长啊,如果从Oracle导出数据库到MSSQL时,由于Oracle中用的是scequence作为自增长,而导入到MSsql,sqlserver的identity的值就会为false,这里需要修改为true就可以了,否则会出现column can not be instered as null.
当修改IDentity为true时,会出现The changes you have made require the following tables to be dropped and re-created时,打开SSMS-->tool-->options-->Designers,勾掉“Prevent saving” 就可以了
总结以上是内存溢出为你收集整理的sqlserver identity全部内容,希望文章能够帮你解决sqlserver identity所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)