Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to reset the identity column in sql server

USE <databasename>;  
GO  
DBCC CHECKIDENT ('<tablename>.<columnname>', <value>, <incrementby>);  
GO 
 
PREVIOUS NEXT
Tagged: #reset #identity #column #sql #server
ADD COMMENT
Topic
Name
2+7 =