Jump to content

Sql Server Lessons -- How To Reseed An Identity Column..


Recommended Posts

Posted

 

Eyyyyy Dongaa.... fvg4js.gif

bemmi.hurted.gif

 

 

evadanna emanna annada... cheppu vesestaaa... fvg4js.gif

Posted

Already unna identity value kanna thakkuva number ki reseed cheyyaniki try chesthe emavthadi.

 

current identity value 1000 undi with 1000 rows id starting from 1 to 1000

 

ippudu identity reseed chesthe 500 ki table ni wat will happen

Posted

Already unna identity value kanna thakkuva number ki reseed cheyyaniki try chesthe emavthadi.

 

current identity value 1000 undi with 1000 rows id starting from 1 to 1000

 

ippudu identity reseed chesthe 500 ki table ni wat will happen

 

if you don't have primary key enabled on that column, no issues you will start getting duplicates..

 

if you have primary key enabled, you will get error... fvg4js.gif

Posted

if you don't have primary key enabled on that column, no issues you will start getting duplicates..

 

if you have primary key enabled, you will get error... fvg4js.gif

 

Ok. Thanks bhayya.

Posted

nuvvu racheheee ;)

 

dont tell like that man... vishwamitra doesn't like it man... fvg4js.gif

×
×
  • Create New...