mysql - Microsoft SQL resetting ID auto increment -
I am using Microsoft SQL Server 2012 and I am trying to reset my table primary key ID In its sequential way Some know that it will be better to leave, but I want to find a way to do it.
Use in SQL Server 2008 There is a command to do, and should be similar to 2012:
DBCC Investigator ("YourTableNameHere", RESEED, 1); And if you want it in MySQL or T-SQL syntax, then it is not very clear.
Comments
Post a Comment