Find it

ReSeed Identity column – TSQL

Randomly I didn’t remember the code to reseed the identity column in tsql, this works though on ms sql 2008 – DBCC CHECKIDENT (tbl_crazyTableName, RESEED, 20000)

TSQL
This entry was posted in SQL Server, Transactional SQL. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

Got a Project?
A Quote..
"A man who asks a foolish question is foolish for a minute, a man who doesn't ask a question will remain foolish for a life-time"
Unknown
© Woody Hayday 2012