dbTalk Databases Forums  

Running a Report from a stored PL/SQL Package

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Running a Report from a stored PL/SQL Package in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
unique
 
Posts: n/a

Default Running a Report from a stored PL/SQL Package - 04-16-2007 , 08:48 AM






I'm building a PL/SQL package that will run a report and then store
the result-set into a table on the database.
The problem I'm having is getting the reports servername dynamically.
I need to get that in order to open the report.
Does anyone know how to do this?
(BTW: I'm using Oracle database 10g, Oracle Reports 10, and a little
program called "PL/SQL Developer" to create the package.)

Thanks in advance!


Reply With Quote
  #2  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: Running a Report from a stored PL/SQL Package - 04-16-2007 , 01:11 PM






unique schreef:
Quote:
I'm building a PL/SQL package that will run a report and then store
the result-set into a table on the database.
The problem I'm having is getting the reports servername dynamically.
I need to get that in order to open the report.
Does anyone know how to do this?
(BTW: I'm using Oracle database 10g, Oracle Reports 10, and a little
program called "PL/SQL Developer" to create the package.)

Thanks in advance!

Depending on your version of Oracle, the sys_context
function can be of help.
Of course, documentation is online:
http://www.oracle.com/pls/db102/dril...ntext#b1420 0

--
Regards,
Frank van Bortel

Top-posting is one way to shut me up...


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.