Question
Which of the following is true about triggers in a
relational database?Solution
Triggers are database objects that automatically execute predefined actions in response to specific events, such as INSERT, UPDATE, or DELETE operations. They are used to enforce complex business rules, maintain audit trails, or synchronize tables. For instance, a trigger can automatically log changes to a table in an audit table whenever a record is updated. Triggers are associated with a table or a view and fire without manual intervention, making them ideal for automation. While powerful, they should be used judiciously to avoid performance bottlenecks in high-transaction environments. Why Other Options Are Incorrect :
- Triggers can be manually executed by database administrators : Triggers are event-driven and cannot be executed manually.
- Triggers replace indexes for optimizing queries : Indexes are designed to optimize query performance, while triggers are for automating responses to events.
- Triggers are only used for logging data changes : While logging is a common use case, triggers have broader applications like enforcing business rules.
- Triggers can only be defined for INSERT operations : Triggers can be defined for INSERT, UPDATE, DELETE, or even complex conditions.
Insurance Mall portal has been launched by ______ for its customers to ensure an Easy-buy experience.
Secular stagnation is best described by which of the following scenarios?
_________ will assume office as president of the Financial Action Task Force (FATF) on July 1 and will serve a fixed two-year term.
Match the following:
A) ADB Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â P) Tehran
B) ACU Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Q) Tokyo
C) AfD...
Who is the author of the recently released “MODI@20: Dreams Meet Delivery” book?
In which year was the Marginal Standing Facility (MSF) introduced by the Reserve Bank of India?
Which of the following Industries requires compulsory Licence?
i. Distillation and brewing of alcoholic drinks
ii. Cigars and cigaret...
Fiscal policy in India is formulated by?Â
A want becomes a demand only when it is backed by theÂ
What is the impact of an increase in the reverse repo rate?