Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

reset identity column values in sql server

/*If you have delete all the rows in a table, and you want to reset the identity column value, use this*/
DBCC CHECKIDENT ('Table_Name',RESEED,0)
 
PREVIOUS NEXT
Tagged: #reset #identity #column #values #sql #server
ADD COMMENT
Topic
Name
4+1 =