Name
RENAME
Synopsis
RENAMEoldname
TOnewname
Changes the name of an existing table, view, sequence, or private synonym. Integrity constraints, indexes, and grants on the old object are automatically transferred to the new object.
Warning
Objects that depend on the renamed object (e.g., views, synonyms, stored procedures, or functions) will be marked INVALID.
Keywords
- oldname
Name of the existing object for which you want to assign a new name.
- newname
New name for the database object.
Get Oracle in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.