Move foreign keys from one table to another in Oracle
I needed to switch all foreign keys from one table to another using PL/SQL in Oracle. This was the result:
Necesitaba un script para pasar los foreign keys de una tabla a otra en Oracle, al final este es el resultado:
/**
* Modifies all references to entity_old and switch them to entity
*
* Process
* [...]

Follow me on Twitter
RSS