DYNAMICALLY CHANGE SPOOL FILE NAME
810582Jan 5 2011 — edited Jan 7 2011Hi,
Oracle Version: 10g.
M/c: Windows XP.
Environment: SQL*PLUS.
Select empname from emp where empno=1;
now whatever comes as empname should be the spool files name.(EX: SPOOL JOHN.TXT)
Is it possible?
Is there any possibilty to do it with the help of define statement in SQL*PLUS.
Thanks in Advance.