Microsoft
Software
Hardware
Network
Question : utl_file
Below is a part of my code responsible for the output, however I don't get any output. I did create the directory and folder specified in the v_file_handle. When I hard code the parameters I do get output. Any help would be appreciated?
FOR cur_rep IN
(
SELECT output
FROM TABLE(dbms_workload_reposi
tory.awr_r
eport_html
( v_dbid, v_instance_number, v_begin_snapshot, v_end_snapshot, v_options ))
)
LOOP
UTL_FILE.put_line(v_file_h
andle, cur_rep.output);
END LOOP;
UTL_FILE.fclose(v_file_han
dle);
Answer : utl_file
Sorry. I didn't get 'no file' from "however I don't get any output". I took it to mean, empty file.
I'd still like to see more of the code because you mention when you hard code it, you get data. Where is the non-hard-coded data coming from?
Random Solutions
a program is attempting to send the following email message on your behalf - Windows Live mail
Xerox Scan to email issue - Gmail Google Apps Premiere
Best Method for Reporting on and Editing Large Amounts of Data
SQL 2008 SP1 Ghost count!
Samsung 160 G disk bad sector at 30.91%, HDD Reg. still finding bad sectors but no fix? Why?
Trying to redirect a user from http to https automatically. Windows 2008 running II7
itextSharp doubles in size
Maxtor OneTouch 4 Family drive is no longer working
passing a looped value to a form
VBA macro script populating cells from data source