Link to home
Start Free TrialLog in
Avatar of SMadhavi
SMadhaviFlag for Canada

asked on

Oracle stored Procedure (P1 in numeric, p2 out varchar)

Hi

I need to create an oracle stored procedure with 2 parameters
p1 and p2
P1 is input parameter of type numeric
p2 is output character of type varchar2(200)


My select statement is
select Field1 from table1 where field2 =:P1

This select statement will return more than 2 values

I need to loop through this two values concatnate the 2 or more values returned and send it out as an output parameter.

I tried creating a cursor and then looping through am not able to get the procedure to work.

Could any one please help.

Thanks

Madhavi
ASKER CERTIFIED SOLUTION
Avatar of Harish_Rajani
Harish_Rajani

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial