SQL Triggers and Constraints

Review your knowledge of enforcing business rules in databases.

1. Which SQL constraint ensures that each record in a table is uniquely identified?
2. Which of the following events can trigger a SQL trigger?
3. A UNIQUE constraint allows multiple NULL values in a column.
4. What keyword is used to define a trigger that executes after a specified event? (one word)
5. When is a BEFORE trigger executed in SQL?
6. Which of the following are valid trigger timing options in SQL?
7. A FOREIGN KEY constraint must reference a PRIMARY KEY column in another table.
8. What does the CHECK constraint enforce?
9. Which statements about SQL triggers are true?
10. Name the constraint that prevents NULL values in a column (two words).
11. Which trigger timing replaces the original event with the trigger's action?
12. The DEFAULT constraint assigns a value to a column only if an explicit value is provided.
13. Which of these are considered SQL constraints?
14. What event would cause a trigger defined as AFTER DELETE to execute?
15. Which constraint is used to automatically assign a value to a column if no value is specified?
Answered 0 of 0 — 0 correct