To rename a table, you must be either the
If there is a view that references the table, attempts to rename it will generate an error. In addition, if there are any check constraints or triggers on the table, attempts to rename it will also generate an error.
See
The RENAME TABLE statement is not allowed if there are any open cursors that reference the table that is being altered.