1.create echo.sql script with content in the following text
-
set echo on
-
select ename from emp where rownum <2;
-
set echo off --这后面的查询语句不会显示出来
-
select dname from dept where rownum <2
2.execute @/directory_path/echo.sql your can use pwd query directory or find / -name "file_name"