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

Popular posts from this blog

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -