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.
The headquarter of Cotton Corporation of India is located at
Normal seedlings upon putting in dark, for few days, get converted into white like albinos. Which of the following terms will you use to describe them?
Which method is commonly used to break physical dormancy?
Genetic variation in clones arises from:
Which type of surface irrigation, fields is divided into strips that are separated by border ridges running through gradient of field?
What will be the base period of crop if duty of water is 1200 ha/cumec and depth of water is 50cm?
Agranal chloroplasts are found in _____
During seed development, the phase involving dry matter accumulation is called:
In seed germination the first phenomenon takes place is __________.
After doing workout which drink is used for adding protein, minerals, adding hydration, muscle buildup?