Tag Archives: SQL Server

How to Reset Identity column in SQL Server

You might find the need to reset the identitity column count after deleting all records form a table or for any other purpose. The following code does just that!

DBCC CHECKIDENT('tablename', RESEED, 0)

Tagged