I want to learn the answer for different DB engines but in our case; we have some records that are not unique for a column and now we want to make that column unique which forces us to remove duplicate values. We use Oracle 10g. Is this reasonable? Or is this something like goto statement 🙂 ? Should we really delete? What if we had millions of records?
Share
You can do this using NOVALIDATE ENABLE constraint state, but deleting is much more preferred way.