Add a auto increment primary key to existing table in oracle

Viewed 147901

I want to add a new auto increment primary column to a existing table which has data. How do I do that?

I first added a column and then try to add a sequence after that, I lost how to insert and make that column as primary key.

4 Answers
Related