Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all articles
Browse latest Browse all 1892

Calling procedure within procedure in HANA

$
0
0

Hi All,

 

 

I have created two procedures in HANA i.e proc1 & proc2.

I am calling proc2 within proc1 with input parameter as 2.

 

 

 

create procedure proc1 as

begin

call proc2(2);

end

 

create procedure proc2(in a integer) as

begin

select a from dummy;

end;

 

 

 

When I am calling proc1, it inturn calls proc2 & proc2 code should be executed i.e select 2 from dummy should be executed & I should get result as 2.

proc1 gets called successfully but I do not get result as 2.

 

Why I am not getting result as 2 after calling proc1? Can anyone help me out on this issue?

 

 

 

Regards,

Jimit Doshi


Viewing all articles
Browse latest Browse all 1892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>