Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which prefixes are available to Oracle triggers?

  • A.
    :new only
  • B.:old only
  • C.Both :new and :old
  • D.
    Neither :new nor :

Answer: C

Correct answer: Both :new and :old

A row-level trigger can refer to the values before the change with :old and after it with :new. Which are meaningful depends on the statement: an insert has only :new, a delete only :old, and an update both, which is what allows a trigger to compare the two and act on the difference.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.