If you some how need to reset(reseed) the identity value of the table in mssql here is the code that will work for you.
new_reseed_value should be the current last value of the identity value.
so new row will be new_reseed_value + 1.
more info about checkident you can read here:
No comments:
Post a Comment