Oracle CDBVIEW
Version 12.1.0.1

General Information
Library Note Morgan's Library Page Footer
The Library is currently in the process of being upgraded from Oracle Database Version 12.1.0.1 to 12.1.0.2. Demos are being upgraded to reflect the new Container paradigm as well as EBR (Edition Based Redefinition) and may contain references to CDBs, PDBs, and other objects you may not be familiar with such as CDB_OBJECTS_AE: Welcome to 12c.

Interested in Oracle GoldenGate? Check out the IGGOUG,
Purpose Creates CDB views for all DBA views. Source code is all clear-text.
AUTHID DEFINER
Dependencies
DBA_COL_COMMENTS DBA_TAB_COMMENTS OBJ$
DBA_SYNONYMS DBA_TAB_PRIVS USER$
DBA_TAB_COLS DBA_VIEWS  
Exceptions Oracle does something here we have been warned by everyone, including Tom Kyte not to do ... WHEN <exception> THE NULL.
I doubt you will see any errors running this proc.
Documented No
First Available 12.1.0
Security Model Owned by SYS with EXECUTE granted to the EXECUTE_CATALOG_ROLE role
Source {ORACLE_HOME}/rdbms/admin/catcdbviews.sql
 
CREATE_CDBVIEWS
Creates, or recreates, the CDB Views cdbview.create_cdbviews(chk_upgrade IN BOOLEAN);

True indicates the call is part of an upgrade and the views are not recreated.
False indicates the call is not part of an upgrade and all CDB views are (re)created.
exec cdbview.create_cdbviews(FALSE);

Related Topics
Container Database
DBMS_PDB
Packages
Pluggable Database
What's New In 12cR1

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2014 Daniel A. Morgan All Rights Reserved