Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 2
    If you can't alter the column to get rid of the identity: What's so hard in creating a 2nd table with exactly the same columns but without identity and then insert all existing data into that one and finally drop the old one? All this can even be done automatically by a piece of code. Commented Mar 10, 2011 at 10:11
  • It appears you're using Microsoft SQLServer. is that correct? Commented Mar 10, 2011 at 10:12
  • @jon_darkstar, yes that's correct :) @Krumelur, because I need to have identities for the migrated data, I just don't want them to be generated by the table Commented Mar 10, 2011 at 10:15
  • i think Krum's suggestion is about the best you're going to get here, its pretty easy to just create an identical table minus the identity restriction Commented Mar 10, 2011 at 10:16