How can I call a PL / SQL procedure without specifying a variable to save my OUT parameter?

I would like to call the PL / SQL stored procedure for which the OUT parameter is specified, but I do not need to return a value. I'm just curious that the procedure was successful, that is, there are no exceptions.

Do I have to define a dummy variable in my calling PL / SQL block to get the out parameter, although I don't want this? It clutters my calling code.

+3
source share
2 answers

Yes, you will need to define a dummy variable.

Or write a proc wrapper that ignores a variable you don't care about?

+7
source

sys_cursor .

0

Source: https://habr.com/ru/post/1736397/


All Articles