Slide 14.3: Using SQL*Plus: the Oracle interface (cont.) Slide 14.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 GAMESall_tables
SQL> select table_name from all_tables; TABLE_NAME ------------------------ ...clear option
SQL> clear screenpause [ text ]
RETURN
.