2015年5月4日 星期一

Reset autoincrement in Microsoft SQL

DBCC CHECKIDENT ("YourTableNameHere", RESEED, 1);