if you use an identity value, you have to reset the identify value after you reshift everything. My suggestion is select the data into another table of the same structure. Let the new table reassign new key values, the drop the old table, recreated the old table in the proper name, then select all the data back once again so you can preserve the table name. But I agree with the person above why would you want to do that? Perhaps a better idea would to be to not use an identity value?
|