EXPERT RESPONSE
Another method that you can try is to use the EXECUTE
IMMEDIATE statement in your PL/SQL block. In your
case, v_pck_name contains the name of the procedure's
package that you want to run. You can execute this
dynamically as follows:
EXECUTE IMMEDIATE v_pck_name;
This would probably be a much cleaner solution than
the one that I originally gave to you.For More Information
|