I have spooled a file before running the below command and got the output like this,
I have set heading off, feedback off
SET HEADING OFF
SET FEEDBACK OFF
SPOOL D:\TEST.TXT
SELECT SYSDATE FROM DUAL;
SPOOL OFF
OUTPUT in TEST.TXT:
SQL> SELECT SYSDATE FROM DUAL;
20-JAN-09
SQL> SPOOL OFF
How can i remove the two SQL> lines. I want only the output.
Thanks in advance.