tekdudedude
Technical User
- Sep 29, 2007
- 79
Hey All,
I am trying to create a spool file that only contains one line (the line of my output value). I am using the following set commands and SQL:
This outputs two lines. First line is the expected date and the second line is blank.
Using just SQLPlus, how can I create a spool file with one just one line output?
Thanks,
TD
I am trying to create a spool file that only contains one line (the line of my output value). I am using the following set commands and SQL:
Code:
set feedback off
set heading off
set pagesize 0
set term off
set trimspool on
spool myfile.spool
SELECT select sysdate from dual;
spool off
This outputs two lines. First line is the expected date and the second line is blank.
Using just SQLPlus, how can I create a spool file with one just one line output?
Thanks,
TD