I have a table in Oracle DB which has a field where procedure names are stored. my goal is to create a menu procedure with a number parameter. So when i call it i want it to get procedure name by it’s id(the number which was passed) from this table and call the procedure.
Hope i’m clear enough…
p.s I’m making a PL/SQL Server Page if it matters…
The solution is Dynamic PL/SQL:
Use bind variables for the parameters. Since each procedure probably takes a different number of parameters you may need to use the DBMS_SQL package.