DBCC--CHECKIDENT
2024-09-18 23:45:32
检查活或重置自增键的标识值,可以使用NORESEED 来检查当前标识值和标识列在表中的最大值。 如果当前标识值与表中数据冲突或希望将标识值重置到一个较小的值时,可以只用RESEED 来设置
DBCC CHECKIDENT
(
table_name
[ , { NORESEED | { RESEED [ , new_reseed_value ] } } ]
)
[ WITH NO_INFOMSGS ]
NORESEED
Specifies that the current identity value should not be changed.
RESEED
Specifies that the current identity value should be changed.
new_reseed_value
Is the new value to use as the current value of the identity column.
WITH NO_INFOMSGS
Suppresses all informational messages.
最新文章
- add user and grant privileges on mariadb
- OC初步 (一)
- 【Mocha.js 101】同步、异步与 Promise
- SOAP-XML请求(iOS应用下集成携程api)
- 帧动画FrameAnimation
- cacti批量添加主机脚本
- Word Ladder
- EF——使用Data Annotations和Fluent API配置数据库的映射配置 02.01(转)
- 纯css 写三角形
- .froxlor 玩起
- 关于RtlInitUnicodeString感想
- 如何搭建易企秀H5平台?
- django中使用Model的update_or_create函数时报错
- oracle dmp数据导入
- docker-compose 案例
- HDFS知识点总结
- SpringMVC中与Spring相关的@注解
- avalon2学习教程 03数据填充
- Hibernate一对多关联关系保存时的探究
- 鸟哥的Linux私房菜——第十章