QuestionQ3

VerifiedPL/SQL Language Fundamentals

Which three statements are true about the NOCOPY hint, the PARALLEL_ENABLE hint, and the DETERMINISTIC clause?

Choose three
Explanation

The NOCOPY hint tells the PL/SQL compiler to try to pass OUT and IN OUT actual parameters by reference instead of making a local copy, which can significantly reduce overhead for large parameters such as collections or records. A function is deterministic when its return value depends solely on the combination of input argument values rather than on any session or package state, which is the basis for using the DETERMINISTIC clause so Oracle can safely reuse previously computed results. The PARALLEL_ENABLE clause is not limited to top-level CREATE FUNCTION statements; it can also be applied to functions nested within a package, enabling Oracle to safely invoke the function from multiple parallel execution servers.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!