sql - Auto Increment missing -
this question has answer here:
i have imported table 1 database another, issue auto increment id has been removed, want add primary key original column on copied table , working again taking last max id when working , continuing add 1 normal, possible.
thanks p
just check table.whether identity must there..remove identity..so wil start 1
the query dbcc checkident('your table name', reseed, 0)
Comments
Post a Comment