{"id":3773,"date":"2012-02-13T11:15:32","date_gmt":"2012-02-13T05:45:32","guid":{"rendered":"http:\/\/windowsvj.com\/wpblog\/?p=3773"},"modified":"2012-02-17T19:39:35","modified_gmt":"2012-02-17T14:09:35","slug":"oracleplsql-oracle-system-tables","status":"publish","type":"post","link":"http:\/\/windowsvj.com\/wpblog\/2012\/02\/oracleplsql-oracle-system-tables\/","title":{"rendered":"Oracle\/PLSQL: Oracle System Tables &amp; default Oracle schemas"},"content":{"rendered":"<p>After you install Oracle 10g on your Windows Machine, and if you have chosen by default create a database set, you may require privileges to access that database. The credentials for accessing the database are generally <strong><em>SYSTEM\/&lt;password&gt;<\/em><\/strong> you entered while installation.<\/p>\n<p>[Edit: On a tip by <a href=\"http:\/\/windowsvj.com\/wpblog\/2012\/02\/oracleplsql-oracle-system-tables\/www.sathyabh.at\">Sathya Bhatt<\/a>]<\/p>\n<p><strong><em>Though SYSTEM schema is meant more as an administrative schema &amp; not recommended to be used by most people.<\/em><\/strong><\/p>\n<p>Oracle used the schema SCOTT for many years which are inadequate to show even the most basic features of Oracle Database and   <br \/>other Oracle products with advances in Oracle Database technology. As a result, many other schemas have been created over the years. Other default Oracle database schemas included are:<\/p>\n<p>1. A simple schema (Human Resources, HR) is useful for introducing basic topics. An extension to this schema supports Oracle Internet Directory demos.   <br \/>2. A second schema (Order Entry, OE) is useful for dealing with matters of intermediate complexity. Many datatypes are available in this schema, including nonscalar datatypes.    <br \/>3.  The Online Catalog (OC) subschema is a collection of object-relational database objects built inside the OE schema.    <br \/>4.  The Product Media schema (PM) is dedicated to multimedia datatypes.    <br \/>5.  A set of schemas gathered under the main schema name IX (Information Exchange) can demonstrate Oracle Advanced Queuing capabilities.    <br \/>6.  The Sales History schema (SH) is designed to allow for demos with large amounts of data. An extension to this schema provides support for advanced analytic processing.<\/p>\n<p>You may use SYSTEM schema has few tables already defined and described which may be used by a novice as well as an expert user for testing and development purposes. Below is a listing of the Oracle system tables that are commonly used.<\/p>\n<p>SYSTEM schema has few tables already defined and described which may be used by a novice as well as an expert user for testing and development purposes. Below is a listing of the Oracle system tables that are commonly used.<\/p>\n<table class=\"parm_values\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\" width=\"551\">\n<tbody>\n<tr class=\"th_left_top\">\n<th width=\"204\">System Table<\/th>\n<th>Description<\/b><\/th>\n<\/tr>\n<tr>\n<td>ALL_ARGUMENTS<\/td>\n<td>Arguments in object accessible to the user<\/td>\n<\/tr>\n<p>     <strike><\/strike>      <\/p>\n<tr>\n<td>ALL_CATALOG<\/td>\n<td>All tables, views, synonyms, sequences accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_COL_COMMENTS<\/td>\n<td>Comments on columns of accessible tables and views<\/td>\n<\/tr>\n<tr>\n<td>ALL_CONSTRAINTS<\/td>\n<td>Constraint definitions on accessible tables<\/td>\n<\/tr>\n<tr>\n<td>ALL_CONS_COLUMNS<\/td>\n<td>Information about accessible columns in constraint definitions<\/td>\n<\/tr>\n<tr>\n<td>ALL_DB_LINKS<\/td>\n<td>Database links accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_ERRORS<\/td>\n<td>Current errors on stored objects that user is allowed to create<\/td>\n<\/tr>\n<tr>\n<td>ALL_INDEXES<\/td>\n<td>Descriptions of indexes on tables accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_IND_COLUMNS<\/td>\n<td>COLUMNs comprising INDEXes on accessible TABLES<\/td>\n<\/tr>\n<tr>\n<td>ALL_LOBS<\/td>\n<td>Description of LOBs contained in tables accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_OBJECTS<\/td>\n<td>Objects accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_OBJECT_TABLES<\/td>\n<td>Description of all object tables accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_SEQUENCES<\/td>\n<td>Description of SEQUENCEs accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_SNAPSHOTS<\/td>\n<td>Snapshots the user can access<\/td>\n<\/tr>\n<tr>\n<td>ALL_SOURCE<\/td>\n<td>Current source on stored objects that user is allowed to create<\/td>\n<\/tr>\n<tr>\n<td>ALL_SYNONYMS<\/td>\n<td>All synonyms accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_TABLES<\/td>\n<td>Description of relational tables accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_TAB_COLUMNS<\/td>\n<td>Columns of user&#8217;s tables, views and clusters<\/td>\n<\/tr>\n<tr>\n<td>ALL_TAB_COL_STATISTICS<\/td>\n<td>Columns of user&#8217;s tables, views and clusters<\/td>\n<\/tr>\n<tr>\n<td>ALL_TAB_COMMENTS<\/td>\n<td>Comments on tables and views accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_TRIGGERS<\/td>\n<td>Triggers accessible to the current user<\/td>\n<\/tr>\n<tr>\n<td>ALL_TRIGGER_COLS<\/td>\n<td>Column usage in user&#8217;s triggers or in triggers on user&#8217;s tables<\/td>\n<\/tr>\n<tr>\n<td>ALL_TYPES<\/td>\n<td>Description of types accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>ALL_UPDATABLE_COLUMNS<\/td>\n<td>Description of all updatable columns<\/td>\n<\/tr>\n<tr>\n<td>ALL_USERS<\/td>\n<td>Information about all users of the database<\/td>\n<\/tr>\n<tr>\n<td>ALL_VIEWS<\/td>\n<td>Description of views accessible to the user<\/td>\n<\/tr>\n<tr>\n<td>DATABASE_COMPATIBLE_LEVEL<\/td>\n<td>Database compatible parameter set via init.ora<\/td>\n<\/tr>\n<tr>\n<td>DBA_DB_LINKS<\/td>\n<td>All database links in the database<\/td>\n<\/tr>\n<tr>\n<td>DBA_ERRORS<\/td>\n<td>Current errors on all stored objects in the database<\/td>\n<\/tr>\n<tr>\n<td>DBA_OBJECTS<\/td>\n<td>All objects in the database<\/td>\n<\/tr>\n<tr>\n<td>DBA_ROLES<\/td>\n<td>All Roles which exist in the database<\/td>\n<\/tr>\n<tr>\n<td>DBA_ROLE_PRIVS<\/td>\n<td>Roles granted to users and roles<\/td>\n<\/tr>\n<tr>\n<td>DBA_SOURCE<\/td>\n<td>Source of all stored objects in the database<\/td>\n<\/tr>\n<tr>\n<td>DBA_TABLESPACES<\/td>\n<td>Description of all tablespaces<\/td>\n<\/tr>\n<tr>\n<td>DBA_TAB_PRIVS<\/td>\n<td>All grants on objects in the database<\/td>\n<\/tr>\n<tr>\n<td>DBA_TRIGGERS<\/td>\n<td>All triggers in the database<\/td>\n<\/tr>\n<tr>\n<td>DBA_TS_QUOTAS<\/td>\n<td>Tablespace quotas for all users<\/td>\n<\/tr>\n<tr>\n<td>DBA_USERS<\/td>\n<td>Information about all users of the database<\/td>\n<\/tr>\n<tr>\n<td>DBA_VIEWS<\/td>\n<td>Description of all views in the database<\/td>\n<\/tr>\n<tr>\n<td>DICTIONARY<\/td>\n<td>Description of data dictionary tables and views<\/td>\n<\/tr>\n<tr>\n<td>DICT_COLUMNS<\/td>\n<td>Description of columns in data dictionary tables and views<\/td>\n<\/tr>\n<tr>\n<td>GLOBAL_NAME<\/td>\n<td>global database name<\/td>\n<\/tr>\n<tr>\n<td>NLS_DATABASE_PARAMETERS<\/td>\n<td>Permanent NLS parameters of the database<\/td>\n<\/tr>\n<tr>\n<td>NLS_INSTANCE_PARAMETERS<\/td>\n<td>NLS parameters of the instance<\/td>\n<\/tr>\n<tr>\n<td>NLS_SESSION_PARAMETERS<\/td>\n<td>NLS parameters of the user session<\/td>\n<\/tr>\n<tr>\n<td>PRODUCT_COMPONENT_VERSION<\/td>\n<td>version and status information for component products<\/td>\n<\/tr>\n<tr>\n<td>ROLE_TAB_PRIVS<\/td>\n<td>Table privileges granted to roles<\/td>\n<\/tr>\n<tr>\n<td>SESSION_PRIVS<\/td>\n<td>Privileges which the user currently has set<\/td>\n<\/tr>\n<tr>\n<td>SESSION_ROLES<\/td>\n<td>Roles which the user currently has enabled.<\/td>\n<\/tr>\n<tr>\n<td>SYSTEM_PRIVILEGE_MAP<\/td>\n<td>Description table for privilege type codes. Maps privilege type numbers to type names<\/td>\n<\/tr>\n<tr>\n<td>TABLE_PRIVILEGES<\/td>\n<td>Grants on objects for which the user is the grantor, grantee, owner, or an enabled role or PUBLIC is the grantee<\/td>\n<\/tr>\n<tr>\n<td>TABLE_PRIVILEGE_MAP<\/td>\n<td>Description table for privilege (auditing option) type codes. Maps privilege (auditing option) type numbers to type names<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&#160;<\/p>\n<p>Download the list here: <a href=\"http:\/\/windowsvj.com\/wpblog\/wp-content\/uploads\/2012\/02\/ORACLE_SYS_TABLES.xlsx\">ORACLE_SYS_TABLES<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After you install Oracle 10g on your Windows Machine, and if you have chosen by default create a database set, you may require privileges to access that database. The credentials for accessing the database are generally SYSTEM\/&lt;password&gt; you entered while installation. [Edit: On a tip by Sathya Bhatt] Though SYSTEM [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[259],"tags":[],"class_list":["post-3773","post","type-post","status-publish","format-standard","hentry","category-oracleplsql"],"_links":{"self":[{"href":"http:\/\/windowsvj.com\/wpblog\/wp-json\/wp\/v2\/posts\/3773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/windowsvj.com\/wpblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/windowsvj.com\/wpblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/windowsvj.com\/wpblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/windowsvj.com\/wpblog\/wp-json\/wp\/v2\/comments?post=3773"}],"version-history":[{"count":6,"href":"http:\/\/windowsvj.com\/wpblog\/wp-json\/wp\/v2\/posts\/3773\/revisions"}],"predecessor-version":[{"id":3786,"href":"http:\/\/windowsvj.com\/wpblog\/wp-json\/wp\/v2\/posts\/3773\/revisions\/3786"}],"wp:attachment":[{"href":"http:\/\/windowsvj.com\/wpblog\/wp-json\/wp\/v2\/media?parent=3773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/windowsvj.com\/wpblog\/wp-json\/wp\/v2\/categories?post=3773"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/windowsvj.com\/wpblog\/wp-json\/wp\/v2\/tags?post=3773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}