Pages

Wednesday, March 23, 2022

How to save sql queries in sqlplus using save command

How to save sql queries in sqlplus using save command


SQL> select max(sequence#) from v$log_history;

MAX(SEQUENCE#)
--------------
        294025

SQL> save max
Created file max.sql
SQL>
SQL>
SQL> @max

MAX(SEQUENCE#)
--------------
        294025

No comments:

Post a Comment