--:--









Quiz for Triggers

Course: SQL | Subject: SQL | Topic: Stored Procedures & Triggers



Logo

Q1: What is a trigger in SQL?

Logo

Q2: Which SQL statements can activate a trigger?

Logo

Q3: When does a BEFORE trigger execute?

Logo

Q4: Can a trigger call a stored procedure?

Logo

Q5: Which keyword is used to define a trigger in SQL?

Logo

Q6: Which clause specifies the timing of a trigger?

Logo

Q7: What does the OLD keyword refer to in triggers?

Logo

Q8: What does the NEW keyword refer to?

Logo

Q9: Can a trigger modify the same table it’s triggered on?

Logo

Q10: Which of these cannot be used inside a trigger?

Logo

Q11: How many triggers can be applied to a single table?

Logo

Q12: Which type of trigger prevents invalid data from being inserted?

Logo

Q13: Which type of trigger operates on each affected row?

Logo

Q14: Which type of trigger executes once per SQL statement?

Logo

Q15: Can triggers be disabled temporarily?

Logo

Q16: Which system table stores trigger definitions in SQL Server?

Logo

Q17: What happens if a trigger fails during execution?

Logo

Q18: Which clause specifies the event in a trigger?

Logo

Q19: Can a trigger be created on a view?

Logo

Q20: Why are triggers used?

Are you ready to start test? Set your time limit