SQL*Plus User's Guide and Reference Release 8.1.6 A75664-01 |
|
Command Reference, 38 of 52
Lists and executes the SQL command or PL/SQL block currently stored in the SQL buffer.
R[UN]
RUN causes the last line of the SQL buffer to become the current line.
The slash command (/) functions similarly to RUN, but does not list the command in the SQL buffer on your screen.
Assume the SQL buffer contains the following query:
SELECT DEPTNO FROM DEPT
To RUN the query, enter
SQL> RUN
The following output results:
1* SELECT DEPTNO FROM DEPT DEPTNO ---------- 10 20 30 40
|
![]() Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|