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



Pls say any one... how will u create a report using oracle stored procedure? could u pls send me t..

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

Pls say any one... how will u create a report using oracle stored procedure? could u pls send me t..

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

Pls say any one... how will u create a report using oracle stored procedure? could u pls send me t..

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

Pls say any one... how will u create a report using oracle stored procedure? could u pls send me t..

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

Post New Answer

More Business Objects Interview Questions

when to go for alias and when to go for contexts

4 Answers  


Explain about alerts in bos, under what situation we need to use alerts?

0 Answers  


What is the user Object ? What is the need of it?

2 Answers   iGate, Infotech,


How to get red line in the graph at some point (value)? Example : In graph at 200000 value

1 Answers   Rolta,


How to change English language to Chinese in BO Desiner (Universe)?

5 Answers   iGate,






how can we retrieve particular number of rows from data ware house?for EX: my report want to displayed with 10 records in a report??how

3 Answers   Keane India Ltd,


Is it necessary to give joins to the aggrigate tables in the universe?

2 Answers  


HOW TO SPOT A HIERARCHY?

2 Answers   TCS,


How to restrict password to a user while sending a document in .pdf format

0 Answers   Mphasis,


Can anybady tell me , what is the aggrigate awareness.how to use it . could u plz give me the practical example.

4 Answers   TCS,


What is the difference between the Bo 3.0 and 3.1?

1 Answers  


What are alertors in Business Objects?

5 Answers  


Categories