The Library is currently in the process of being upgraded from Oracle Database Version 220.127.116.11 to
18.104.22.168. 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.
Creates CDB views for all DBA views. Source code is all clear-text.
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.
Owned by SYS with EXECUTE granted to the EXECUTE_CATALOG_ROLE role
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.