when migrating from access backend to the sql servier, do the AutoID numbers stay the same? or the numbers will be random autoid numbers in order?
for example, in access, if i was to append a table with AutoIDs into another table with autoids and actually append the autoid field - it'd accept the autoid numbers into the autoid field even though if i tried to type into that field i wouldn't be able to.
i'm probably going to be told right now that it was a bad practice to base some of my code on those numbers but it's too late. i was assuming that sql works in the same way access does and thought there'd be no harm in using them sometimes.
at this point if i had to go back and rewrite those pieces i'd be worried that i don't remember everywhere i used the autoid and be afraid that i'd miss some.
for example, in access, if i was to append a table with AutoIDs into another table with autoids and actually append the autoid field - it'd accept the autoid numbers into the autoid field even though if i tried to type into that field i wouldn't be able to.
i'm probably going to be told right now that it was a bad practice to base some of my code on those numbers but it's too late. i was assuming that sql works in the same way access does and thought there'd be no harm in using them sometimes.
at this point if i had to go back and rewrite those pieces i'd be worried that i don't remember everywhere i used the autoid and be afraid that i'd miss some.
Last edited: