Which statements are true about PL/SQL procedures?

Which statements are true about PL/SQL procedures? (Choose all that apply.)
A. Users with definer’s rights who are granted access to a procedure that updates a table must be granted access to the table itself.
B. Reuse of parsed PL/SQL code that becomes available in the shared SQL area of the server avoids the parsing overhead of SQL statements at run time.
C. Depending on the number of calls, multiple copies of the procedure are loaded into memory for execution by multiple users to speed up performance.
D. A PL/SQL procedure executing on the Oracle database can call an external procedure or function that is written in a different programming language, such as C or Java.

Download Printable PDF. VALID exam to help you PASS.

One thought on “Which statements are true about PL/SQL procedures?

  1. I also think correct answers: B,D.

    B:

    https://docs.oracle.com/cd/E11882_01/server.112/e40540/memory.htm#CNCPT7777

    “The database processes individual SQL statements within a PL/SQL program unit as previously described. Despite their origins within a PL/SQL program unit, these SQL statements use a shared area to hold their parsed representations and a private area for each session that runs the statement.”

    D:

    https://docs.oracle.com/cd/B12037_01/appdev.101/b10795/adfns_ex.htm

    “PL/SQL external procedures allow you to write C function calls as PL/SQL bodies. These C functions are callable directly from PL/SQL, and from SQL through PL/SQL procedure calls. The database provides a special-purpose interface, the call specification, that lets you call external procedures from other languages. While this service is designed for intercommunication between SQL, PL/SQL, C, and Java, it is accessible from any base language that can call these languages. For example, your procedure can be written in a language other than Java or C and still be usable by SQL or PL/SQL, as long as your procedure is callable by C. Therefore, if you have a candidate C++ procedure, you would use a C++ extern “C” statement in that procedure to make it callable by C.”

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.