RESEED identity columns on the database

后端 未结 3 2052
难免孤独
难免孤独 2020-12-11 03:52

Can I use the

DBCC CHECKIDENT(, RESEED, value)

command to reset an identity column current value to the original one in

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-11 04:41

    It has a great drawback if and only if the feild is a primary key and reference to any foreign key in any other table. reseeding helps to fetching of records in transaction table having indexes on the field.

提交回复
热议问题