on 04-20-2014 8:30 AM
Hi Experts,
Need your help to invoke Oracle DB Procedure having output parameters from BODS Script
--Thanks
Procedure Code:
create or replace PROCEDURE findMin(x IN number, y IN number, z OUT number) IS
BEGIN
IF x < y THEN
z:= x;
ELSE
z:= y;
END IF;
END;
Below Syntax worked....
SQL('Datastore_Name','DECLARE a number :=10; b number :=20; c number; begin FINDMIN(a,b,c); end;');
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Balakrishna,
IF you want to execute the stored procedure from script first import the SP into your data store first and you can try the below scripts, i am not sure that it will works kindly try and let me know.
Datastore Name.Owner.Procedure_Name( $Var_1 , $Var_2 );
or
SQL('Datastore_name',exec sp_xxx);
Thanks and regards,
subbu CH.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.