A table has been created, but I realize I need a new column - RecordID (this column automatically assigns numerical value to each row of record) What would I have to do in SQL management studio to accomplish that? Thank you!

link|improve this question

50% accept rate
feedback

1 Answer

Create a new table with an autonumber field, then copy the data from your original table to the new one. Once that is done, remove the original table, and rename the new one with the name of the original.

link|improve this answer
is there a command for copying? – user34683 Mar 15 '11 at 23:26
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.