Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Where does STATSPACK save its reports generated with spreport
Try running sqlplusw.exe (no current working directory) and see where it goes ($ORACLE_HOME/BIN) on my machine for both 9i and 10g client software
-----Original Message-----
From: Allen, Brandon [mailto:Brandon.Allen_at_OneNeck.com]
Sent: 08 September 2005 17:13
To: Ian Cary (C); davidsharples_at_gmail.com; ldk2005_at_gmail.com
Cc: Oracle-L_at_freelists.org
Subject: RE: Where does STATSPACK save its reports generated with
spreport
Not from what I've seen - with 9.2.0.6 on Win2K3, when I run spreport.sql it saves the the output in my current working directory. You can see from the following lines in sprepins.sql (called by spreport.sql) that it just spools to your current directory:
prompt
prompt Specify the Report Name
prompt ~~~~~~~~~~~~~~~~~~~~~~~
set heading off;
column report_name new_value report_name noprint;
select 'Using the report name ' || nvl('&&report_name','&dflt_name')
, nvl('&&report_name','&dflt_name') report_name
from sys.dual;
spool &report_name;
set heading on;
prompt
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Ian Cary (C)
Sent: Thursday, September 08, 2005 7:24 AM
To: davidsharples_at_gmail.com; ldk2005_at_gmail.com
Cc: Oracle-L_at_freelists.org
Subject: RE: Where does STATSPACK save its reports generated with spreport
It will default to $ORACLE_HOME/BIN if you are using a windows client
Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
This email and any attachments have been virus checked upon receipt at Ordnance Survey and are free of all known viruses.
This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed of disclosed to any other person. Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.
Thank you for your cooperation.
Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 023 8079 2000
http://www.ordnancesurvey.co.uk
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Sep 09 2005 - 02:39:30 CDT