Which two circumstances do you use to design database triggers? - ProProfs Discuss
Advertisement

Which two circumstances do you use to design database triggers?

Which two circumstances do you use to design database triggers?

Change Image    Delete



Asked by Ranaguha, Last updated: Nov 09, 2024

+ Answer
Request
Question menu
Vote up Vote down

3 Answers

Anthony Paul Bonadio

Anthony Paul Bonadio

Its kind of my job to give answers

Anthony Paul Bonadio
Anthony Paul Bonadio, Teacher, MCA, PhD, Toledo

Answered Dec 14, 2018

The two circumstances where you design database triggers is to guarantee that when a specific operation is performed, related actions are performed and for centralized, global operations that should be fired for the triggering statement, regardless of which user or application issues the statement.

When you are dealing with SQL, in order to make specific actions occur within a database, a database trigger is run to perform these actions. Some triggers can act in place of DML functions like inserting data, deleting old or incorrect information or updating files.

upvote downvote
Reply 

N. Kingsley

N. Kingsley

N. Kingsley
N. Kingsley, Writer, Columbus

Answered Sep 18, 2018

A database trigger is run when specific actions occur within a database. Triggers help the database designer ensure operations, such as maintaining an audit file. The triggers can happen after or in place of a DML action. Triggers are related with the database DML actions insert, update, and delete.

Triggers are defined to run when these actions are executed on a specific table. A trigger is defined to run when these actions are executed on a specific table. A trigger is defined for a specific table and one or more events. In database management systems you can only define one trigger per table.

upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Jan 30, 2017

To guarantee that when a specific operation is performed, related actions are performed.
For centralized, global operations that should be fired for the triggering statement, regardless of which user or application issues the statement.
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.