Oracle Database 11g: Advanced PL/SQL — Question 3

Which two statements are true about the inlining of PL/SQL subprograms? (Choose two.)

Answer options

Correct answer: A, C

Explanation

Option A is correct because only local subroutines can be inlined, as they are within the same scope. Option C is also correct because the PLSQL_OPTIMIZE_LEVEL must be at least 2 for inlining to occur. Options B and D are incorrect because inlining does not always guarantee reduced execution time, and not all programs with large subroutines are suited for inlining.