Pls say any one...
how will u create a report using oracle stored procedure?
could u pls send me the step.....
Answers were Sorted based on User's Feedback
Answer / deepak
hi chandu,
this is a sample one
create or replace procedure proc_name(proc_cur in out
sys_refcursor)
as
begin
open proc_cur for select * from tab;
end;
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / reshma
Deepak,
ur answer has helped me a lot.Thanx a tonne. Guys, pls
follow his steps for Creating report using SP:
1-Select Data---New Data Provider--Stored Procedure
2-Select or define the db connection
3-Choose the stored procedure
4-Specify stored procedure as the data source
5-Define parameters
Use REF CURSOR with IN/OUT parameter.
Ref cursor is a cursor variable that points to any cursor,
mainly used for returning the CURSOR OUTPUT.
Eg:
CREATE OR REPLACE PROCEDURE BO_proc(proc_cur IN OUT
sys_refcursor)
AS
BEGIN
OPEN proc_cur FOR SELECT * FROM EMP;
END;
/
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / deepak
u need to create a stored procedure using in/out parameter
of a ref cursor.the parameter of the proc should be in only.
then create a connection to the database using middleware.
suppose u have created a proc on oracle 9i, then make the
connection using oracle client.mention the user
name/password and the data base name in the connection.
then in the report section use the stored procedure as data
provider and select the proc using which you want data ang
generate the report.
deepak
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / chandru
Hi Deepak,
Thanks for giving this information.
if it possible give me a sample stored procedure coding ...
| Is This Answer Correct ? | 1 Yes | 0 No |
i want to creat 2way drilling using hyrarchies and hyperlinks...can anyone please help me
I need to develop cross tab in format: Values D E F A 1 3 4 B 2 5 8 C 9 8 10 My problem is values in header I am able to do same in WEBI how to manipulate same in deski? Plz Help
How we can resolve the loops by using the Aggrigate Awareness?
What is top business?
1.what is the difference between development,maintainace and support in bo? 2.what is dynamic date prompt?Is it feasible to create dynamic date prompt in universe?what is the procedure? 3.how can u say that a report is complex ,simple or medium? 4.yesterday i had run the report it took max 30 sec to run the report.but today i came and refresh the same report ,more than two hours completed,still result not came?where is the issue might be?note that at universe and report level no issues?where u will go fro 3rd verification?
How many ways you can restrict data in business objects?
What is the differrence between prompt & @prompt? What is the differrence between Xcelsius & Web-I Report?
. In production reports, some dimensions are missing. how do you load these dimensions in production
What is the short cut join?
Explain about MTD(Month To Date) and YTD(Year To Date) with one example and where you use this in your project?
When to use local filter and when to use global filter?
HI, can anybody tell me aggrigate awareness is only for aggrigate tables or if any?