QuestionQ28

VerifiedPL/SQL Language Fundamentals

Examine the following statements and output:

Question Image

The procedure is created successfully.

Question Image

User ora2 has password ora2 in pdb1. Which script executes successfully?

Explanation

PROC1 requires an actual NUMBER variable for its OUT parameter. ORA2 has been granted EXECUTE privilege, and a call qualified as ORA1.PROC1(x) supplies the declared variable x correctly. A procedure has no return value and cannot be assigned to a variable, and calls that omit its required parameter fail.

Community Discussion

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