Spooling Output in Windows [message #455731] |
Wed, 12 May 2010 13:14 |
purerage
Messages: 3 Registered: May 2010
|
Junior Member |
|
|
Hello All,
I am an IT auditor who has been using Oracle 10g Express to test some audit scripts we have created. I write the output of each query in the script to a separate file because it makes it easier for us to go through. However, I cannot get SQLPlus to spool the output files at all. I do not get any errors from running the script, and I can see the results in the SQLPlus window, but I cannot find where the files are actually spooling to, if they are spooling at all.
I didn't specify a network path for any of the spool files because the scripts need to be as generic as possible so they can run on any Windows or UNIX box. An example of my code is below:
spool Audit_Ver
SELECT * FROM V$VERSION;
spool off
But if I search my harddrive for "Audit_Ver" no such file can be found anywhere. Can anyone help me figure out where these files are actually going or how to fix it?
|
|
|
|
Re: Spooling Output in Windows [message #455738 is a reply to message #455734] |
Wed, 12 May 2010 13:22 |
purerage
Messages: 3 Registered: May 2010
|
Junior Member |
|
|
Yes I believe so, I connect to the database (which is installed on my laptop) using SQLPlus in the command line.
SQLPlus system/password@IP/port/XE
This is just an XE database that I downloaded to my laptop to specifically to test/create this script so everything is located on my laptop's C: drive.
|
|
|
|
|
|
|
|