QuestionQ46

VerifiedPL/SQL Language Fundamentals

Examine the following anonymous block of code:

Question Image

Which two statements are true about the results of running it?

Choose two
Explanation

PL/SQL automatically initializes a declared variable that has no explicit initial value to NULL. Oracle arithmetic propagates NULL, so salary + v_raise evaluates to NULL for each updated row; if the update succeeds, all targeted salary values are set to NULL.

Learn more

Community Discussion

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