How do I get the 'spool' command to capture not just the output of my commands, but also the entered commands?
See below for an example..
thanks in advance,
gary
------- in Command Window ---------
SQL> spool c:\temp\a.lst
Started spooling to c:\temp\a.lst
SQL> desc dual
Name Type Nullable Default Comments
----- ----------- -------- ------- --------
DUMMY VARCHAR2(1) Y
SQL> select * from dual;
DUMMY
-----
X
SQL> spool off
Stopped spooling to c:\temp\a.lst
------- in resulting file ---------
Name Type Nullable Default Comments
----- ----------- -------- ------- --------
DUMMY VARCHAR2(1) Y
DUMMY
-----
X
------- end ------
See below for an example..
thanks in advance,
gary
------- in Command Window ---------
SQL> spool c:\temp\a.lst
Started spooling to c:\temp\a.lst
SQL> desc dual
Name Type Nullable Default Comments
----- ----------- -------- ------- --------
DUMMY VARCHAR2(1) Y
SQL> select * from dual;
DUMMY
-----
X
SQL> spool off
Stopped spooling to c:\temp\a.lst
------- in resulting file ---------
Name Type Nullable Default Comments
----- ----------- -------- ------- --------
DUMMY VARCHAR2(1) Y
DUMMY
-----
X
------- end ------