Difficulty: Easy
Correct Answer: ALTER TABLE
Explanation:
Introduction / Context:
Database triggers can enforce business rules and maintain audit trails. Administrators sometimes need to enable or disable all triggers on a table—for example, during bulk loads or maintenance. This question checks the correct SQL statement typically used for that task.
Given Data / Assumptions:
Concept / Approach:
Common implementations (e.g., Oracle) use statements such as: ALTER TABLE table_name DISABLE ALL TRIGGERS or ALTER TABLE table_name ENABLE ALL TRIGGERS. The controlling verb is ALTER TABLE, not a separate ‘‘ALTER TRIGGERS’’ object.
Step-by-Step Solution:
Verification / Alternative check:
Database documentation typically shows ENABLE/DISABLE trigger operations under ALTER TABLE semantics; there is no general SQL standard ‘‘ALTER TRIGGERS’’ statement operating at table scope.
Why Other Options Are Wrong:
Common Pitfalls:
Assuming a non-standard verb exists; in practice, manage trigger state through ALTER TABLE with vendor-specific clauses.
Final Answer:
ALTER TABLE
Discussion & Comments