I have a certain oracle package file (pbk with pks). I want to execute one of the methods in the package from sqlplus. I want to do so without compiling the package into the oracle database.
Is this possible ? if so how ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use an anonymous PLSQL block to run something without compiling to the database, but objects that don’t exist in the database (package, function, stored procedure, type, etc) need to be declared within the PLSQL anonymous block.
That means you’ll have to copy the method(s) you want to test from the package/etc, pasting them within the PLSQL block: