How to execute stored procedure with one input and many output parameters #303
-
Hello, If i have the following stored procedure:
I can execute it in sql developer like this:
I have checked docs for stored procedures -> https://python-oracledb.readthedocs.io/en/latest/user_guide/plsql_execution.html#pl-sql-stored-procedures and there is a code sample as shown below:
Based on my procedure i tried the following code:
It gives me the following error:
This is my firs time dealing with stored procedures, so far i have been dealing with stored function and this is the first time i have one input param and many output params. How should i execute this stored procedure? BR, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
OK solved in the meantime with:
I would appreciate if someone can show the way of executing this procedure in case i have to call it many times for different input msisdns.:
BR, |
Beta Was this translation helpful? Give feedback.
Creating variables is the correct way of handling output parameters. You can reuse the variables as many times as you like. Each time you call the procedure new values will be populated. You can call multiple times as follows:
If you know you are going to b…