Hi folks,
A week or so ago some data got imported into a db table. Simple table:
Id INT PK NOT NULL IDENTITY Name VARCHAR(20)
Now, i noticed today that the first id starts at 0. wtf? asking the kid, he was reseeding it during his testing. So the first entry was a zero. Was an accident.
Anyways, I'm not sure how to best update the value. How can i push everything up one number? What pains me is that there's also some FK dependencies. If i have Cascade Update, should that fix the dependencies?
Also, should i update each number (how ever i do that??) from the top down .. eg. from the highest number. then +1. then go down.
hm.. i'm not sure :(
cheers :)