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 ThakurPosted Feb 2, 2018, 2:06 AM
dbcc checkident ('tablename') -- to check next value
DBCC CHECKIDENT ('tablename' , reseed, 0); --to reset indentity value
Dharmraj ThakurPosted Feb 2, 2018, 11:05 PM
Rupesh NPosted Feb 2, 2018, 11:02 PM
Dharmraj ThakurPosted Feb 2, 2018, 4:32 AM
Ramesh PalanivelPosted Feb 2, 2018, 4:11 AM
Rupesh NPosted Feb 2, 2018, 4:06 AM
Rupesh NPosted Feb 2, 2018, 4:04 AM
Ramesh PalanivelPosted Feb 2, 2018, 1:23 AM