Preamble
A trigger is a named PL/SQL module that is stored in a database and can be invoked again. You can enable and disable a trigger, but you cannot explicitly call it.
When the Trigger is enabled, the database shall automatically call the Trigger whenever the event that triggers the Trigger occurs. While the Trigger is disabled, it shall not trigger.
You shall create the Trigger with the CREATE TRIGGER operator. You specify the triggering event in terms of the triggering operators and the object they act on. The Trigger is considered to be created or defined for an object that is either a table, representation, scheme or database.
You also specify the synchronisation point that determines whether the Trigger starts before or after execution of the Trigger Operator and whether it starts for each line affected by the Trigger Operator. By default, the Trigger is created in the enabled state.
Below is a list of articles explaining how to use triggers in Oracle/PLSQL
CREATE TRIGGER
|
|
DROP TRIGGER
|
|
DISABLE THE TRIGGER
|
ENABLE A TRIGGER
|
PL/SQL tutorial: Introduction of PL/SQL Triggers in Oracle Database
About Enteros
Enteros offers a patented database performance management SaaS platform. It proactively identifies root causes of complex business-impacting database scalability and performance issues across a growing number of clouds, RDBMS, NoSQL, and machine learning database platforms.
The views expressed on this blog are those of the author and do not necessarily reflect the opinions of Enteros Inc. This blog may contain links to the content of third-party sites. By providing such links, Enteros Inc. does not adopt, guarantee, approve, or endorse the information, views, or products available on such sites.
Are you interested in writing for Enteros’ Blog? Please send us a pitch!
RELATED POSTS
Revolutionizing Healthcare IT: Leveraging Enteros, FinOps, and DevOps Tools for Superior Database Software Management
- 21 November 2024
- Database Performance Management
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…
Optimizing Real Estate Operations with Enteros: Harnessing Azure Resource Groups and Advanced Database Software
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…
Revolutionizing Real Estate: Enhancing Database Performance and Cost Efficiency with Enteros and Cloud FinOps
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…
Enteros in Education: Leveraging AIOps for Advanced Anomaly Management and Optimized Learning Environments
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…