I have a column with Identity property with 10 records now I had truncated the table but the identity number is stil incrementing from 10 . I need to reset the identity number from 1 again. How to perform this in SQL SERVER 2008
Asked
Active
Viewed 104 times
0
-
Is identity set to start from 10? However, if there is no data at the moment, why don't you drop and re-create the table? – huMpty duMpty Apr 15 '14 at 10:22
2 Answers
0
Use this syntax to reset identity column:
DBCC CHECKIDENT(<table_name>, RESEED, value)

Pradeep Kesharwani
- 1,480
- 1
- 12
- 21