Getting Information on Tables

You can get information about your tables by

  • Performing a DESCRIBE command on the table.
  • Querying the user_tables view.

Some of the columns in the user_tables view:

table_nameVARCHAR2(30)Name of the table.
tablespace_nameVARCHAR2(30)Name of the tablespace
temporaryVARCHAR2(1)Whether the table is temporary.

SQL> SELECT table_name, tablespace_name, temporary
  2  FROM user_tables
  3  WHERE table_name IN ('MYTABLE');

TABLE_NAME                     TABLESPACE_NAME                T
------------------------------ ------------------------------ -
MYTABLE                                                       Y

Home »
Oracle »
Table » 

Table Creation:
  1. Creating a Table
  2. Getting Information on Tables
  3. Information on Columns in Tables
  4. Renaming a Table
  5. Truncating a Table
  6. Dropping a Table