Query dba_tables for table info : DBA_Tables « System Tables Views « Oracle PL / SQL

Home
Oracle PL / SQL
1.Aggregate Functions
2.Analytical Functions
3.Char Functions
4.Constraints
5.Conversion Functions
6.Cursor
7.Data Type
8.Date Timezone
9.Hierarchical Query
10.Index
11.Insert Delete Update
12.Large Objects
13.Numeric Math Functions
14.Object Oriented Database
15.PL SQL
16.Regular Expressions
17.Report Column Page
18.Result Set
19.Select Query
20.Sequence
21.SQL Plus
22.Stored Procedure Function
23.Subquery
24.System Packages
25.System Tables Views
26.Table
27.Table Joins
28.Trigger
29.User Previliege
30.View
31.XML
Oracle PL / SQL » System Tables Views » DBA_Tables 
Query dba_tables for table info
  
SQL>
SQL> set verify off
SQL> set linesize 76
SQL> set pagesize 9999
SQL>
SQL> break on tablespace_name skip 1
SQL> column tablespace_name  format a15
SQL> column table_name       format a30
SQL> column table_properties format a30 word_wrapped
SQL>
SQL> select tablespace_name, table_name,
  2         decodepartitioned, 'YES', 'Partitioned ',
  3           decodelogging, 'NOLOGGING', 'Non-logging table ' ) ||
  4         decodetemporary, 'Y''Temporary (' ||
  5                 decodeduration, 'SYS$SESSION', 'Session-based',
  6                                                  'Transaction-based' ) ||
  7                 ')',
  8         '' ||
  9         decodeiot_type, null, '', 'Index-organized ' ) ||
 10         decodenested, 'YES', 'Nested ', '' )
 11         table_properties
 12    from dba_tables
 13   where rownum < 50
 14  /
Tablespace Name Table Name
--------------- ------------------------------
TABLE_PROPERTIES
------------------------------
SYSTEM          ICOL$


                CON$


                UNDO$


                PROXY_ROLE_DATA$


                FILE$


                UET$


                IND$


                SEG$


                COL$


                CLU$


                PROXY_DATA$


                TS$


                BOOTSTRAP$


                FET$


                CCOL$


                USER$


                OBJ$


                TAB$


                CDEF$


                OBJAUTH$


                UGROUP$


                TSQ$


                SYN$


                VIEW$


                TYPED_VIEW$


                SUPEROBJ$


                SEQ$


                PROCEDURE$


                PROCEDUREINFO$


                ARGUMENT$


                SOURCE$


                IDL_UB1$


                IDL_CHAR$


                IDL_UB2$


                IDL_SB4$


                DIR$


                JAVAOBJ$


                ERROR$


                SETTINGS$


                TRIGGER$


                TRIGGERCOL$


                TRIGGERJAVAF$


                TRIGGERJAVAS$


                TRIGGERJAVAC$


                TRIGGERJAVAM$


                SYSAUTH$


                OBJPRIV$


                DEFROLE$


                PROFILE$




49 rows selected.

SQL>
SQL> --

   
  
Related examples in the same category
1.Get owner, table name and table space name from dba_tables
2.Data Dictionary Scope
3.Query dba_tables by owners
4.select cluster_name, owner, table_name from dba_tables
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.