June 2003
Intermediate to advanced
560 pages
4h 6m
English
Oracle provides a rich set of data dictionary views. These views are owned by the user “SYS” and can be accessed by suitably privileged users. Views that begin with USER_ do not include an OWNER column, since they describe only the objects owned by the currently logged in user.
To get a list of these views, from the database, and the comments associated with them, log on to SQL*Plus as sysdba (internal) and then execute the following package to install it:
CREATE OR REPLACE PACKAGE describe IS PROCEDURE describe_tables( tab_owner VARCHAR2, names_like VARCHAR2 ); END describe; / CREATE OR REPLACE PACKAGE BODY describe IS PROCEDURE print_preamble IS BEGIN dbms_output.put_line( '<HTML>' ); dbms_output.put_line( '<HEAD>' ); ...
Read now
Unlock full access