Hello,
I have primary key in table like
1
2
3
it is auto increment. but now i want that next primary key value should start from 1001.
then what will be the query for it?
Thanks
Hi @abhinav,
Try this..
Declare @newValue int set @newValue = 1000 DBCC CHECKIDENT ('Table_Name', reseed, @newValue)
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.