Reset identity seed for a table
This SQL query will reset an identity seed to the specified value.
Thanks to this site for the answer:
http://www.thescripts.com/forum/thread657059.html
I know this works for MSSQL 2000 at least :)
Thanks to this site for the answer:
http://www.thescripts.com/forum/thread657059.html
I know this works for MSSQL 2000 at least :)
DBCC CHECKIDENT('mytable', RESEED, 0) ;