Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Database Name as Spool File Name

user6319914Jun 24 2014 — edited Jun 24 2014

Hi all,

I'm a novice so go easy on me...

I have a script that executes a few select statements and I'd like it to dynamically use the database name as the spool file name, as it is called by another file to run on multiple instances.

I've been googling this to death but still can't seem to get it to work, can anyone point me in the right direction?

Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2014
Added on Jun 24 2014
4 comments
3,605 views