Slide 11.3: Using SQL*Plus: the Oracle interface (cont.) Slide 11.5: Introduction to SQL Home |
DESCRIBE
lists the column definitions of a table.
SQL> describe customers
Name Null? Type
----------------------- -------- -----------------
NAME VARCHAR2(32)
SSN NOT NULL CHAR(10)
NO NUMBER(38)
user_tables SQL> select table_name from user_tables;
TABLE_NAME
------------------------
CUSTOMERS
GAMES
all_tables SQL> select table_name from all_tables;
TABLE_NAME
------------------------
...
clear option
SQL> clear screen
pause [ text ]
RETURN
.