Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to get argument value for procedure

Mohamed DEVDec 11 2024

السلام عليكم

Assume that i have a procedure pro1 which accept two parameters as follow :
1- p1 number
2- p2 varchar2

And i'm calling the procedure as pro1(p1=>5,p2=>'Any string') ;

What i need is :
Register the name of parameter and it's value as json object like {"p1":5,"p2":"Any string"} dynamically any time when calling the procedure.

I know there is a view called "all_arguments" and i can get the name of parameters but the point is
how can i get the value

Thanks

Comments
Post Details
Added on Dec 11 2024
26 comments
374 views