Sql-server – How to reset an increment identity’s starting value in SQL Server

identitysql-server

I would like to have a nice template for doing this in development. How do I reset an increment identity's starting value in SQL Server?

Best Solution

DBCC CHECKIDENT('TableName', RESEED, 0)