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

Which two conditions must be true for a PL/SQL function to be result cached? (Choose two.)

Answer options

Correct answer: C, D

Explanation

For a PL/SQL function to be result cached, it must not be defined in an anonymous block (C) and should have at least one OUT or IN OUT parameter (D). Options A and B are incorrect because being part of a package and being a pipelined table function are not necessary conditions for result caching.