What is the primary purpose of a database trigger?
-
A
Speed up queries
-
B
Automatic action on events
Correct answer
-
C
Encrypt data
-
D
Normalize tables
Correct answer
B. Automatic action on events
10 views
Explanation
A trigger automatically executes in response to certain events (INSERT, UPDATE, DELETE). Source: General DBMS knowledge.
Reference
Asked in: FPSC,CSS,NTS,PPSC,PMS
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ