Hi All,
11.2.0.1
Aix 6
I have a sql script that runs daily and spool its output to a txtfile. I want to attached date to the output txtfile. How do I do that?
For example: prog1.sh
=======
#!/bin/sh
spool output1{date}
select empname from emp where trunc(hiredate)=sysdate-1;
spool off
exit
Thanks,
pK