sql - Auto Increment missing -


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

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -