Hi. I am Create Auti Ganerated ID with primary key.
so, the problem is, first 535 number is order. but, after that 10525 continue. and again 10679 after starts 20580.
this is hosting website. and local sqlserver also same error . so, please how to order numbers without delete data.
so, please tll me query to solution that error.
please urgent.
try t understanding.

Dharmraj ThakurRank #577 · 4.2K reputationPosted Feb 1, 2018, 9:06 PM EST
dbcc checkident ('tablename') -- to check next value
DBCC CHECKIDENT ('tablename' , reseed, 0); --to reset indentity value
Ramesh PalanivelRank #372 · 6.8K reputationPosted Feb 1, 2018, 8:23 PM EST
Rupesh NRank #3,763 · 393 reputationPosted Feb 1, 2018, 11:04 PM EST
Rupesh NRank #3,763 · 393 reputationPosted Feb 1, 2018, 11:06 PM EST
Ramesh PalanivelRank #372 · 6.8K reputationPosted Feb 1, 2018, 11:11 PM EST
Dharmraj ThakurRank #577 · 4.2K reputationPosted Feb 1, 2018, 11:32 PM EST
Rupesh NRank #3,763 · 393 reputationPosted Feb 2, 2018, 6:02 PM EST
Dharmraj ThakurRank #577 · 4.2K reputationPosted Feb 2, 2018, 6:05 PM EST