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

Discussion

Which of the three possible types of triggers does SQL Server support?

  • A.INSTEAD OF only
  • B.AFTER only
  • C.BEFORE only
  • D.INSTEAD OF and AFTER only

Answer: D

Correct answer: INSTEAD OF and AFTER only

SQL Server provides AFTER triggers, firing once the statement has completed, and INSTEAD OF triggers, replacing it. There is no BEFORE trigger, which is a genuine difference from Oracle and one of the things to check when porting trigger code between the two products.

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

Post your comment

Please log in or register to post a comment.