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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -