Reseed the identity of database table


For setting the identity column of a table of database to 1 again then use the following command:

DBCC CHECKIDENT
(
TableName

)

Comments

Popular posts from this blog

TSQL To Get All the Names of tables and Databases whose data have changed in last 24 Hours

To Get All the Names of tables and Databases their data have changed in last 24 Hours And Backup those databases

Apply paging in procedure