SET LIST
SET LIST [ON | OFF]
This command controls how the data returned by a select statement is displayed.The default setting is to display the data in tabular form with optional column headings at the top of each 'page'.Setting the list mode to ON
results in a different format where each column heading is displayed on the left and the column data on the right.This repeats for each and every row returned by the query.
As with other commands, not providing a value to the command results in a toggle of the current setting.
SQL> set list off; SQL> select emp_no, first_name, last_name, salary CON> from employee; EMP_NO FIRST_NAME LAST_NAME SALARY ======= =============== ==================== ===================== 2 Robert Nelson 105900.00 4 Bruce Young 97500.00 5 Kim Lambert 102750.00 8 Leslie Johnson 64635.00 ... SQL> set list on; SQL> select emp_no, first_name, last_name, salary CON> from employee; EMP_NO 2 FIRST_NAME Robert LAST_NAME Nelson SALARY 105900.00 EMP_NO 4 FIRST_NAME Bruce LAST_NAME Young SALARY 97500.00 ...