SQL> spool results.lst SQL> select * from customers; SQL> spool off SQL> host cat results.lst |
SQL> show all
autocommit OFF
...
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)
SQL> clear screen
RETURN
.
“May you live every day of your life.” ― Jonathan Swift |