I want to create a global trigger in Oracle 11g. Which can be used for auditing of around 100 tables. Can multiple tables fire a single trigger. If yes then how can I achieve this?
Creating a global trigger that listens to multiple tables
7.3k views Asked by Ravindra Singh Shekhawat At
1
There are 1 answers
Related Questions in TRIGGERS
- Delete trigger run for each deleted row when delete multi row on edit tab
- Have a script work multiple times with the same class
- Trigger when viewing a certain sheet in google apps script
- trouble to trigger Jenkins job
- Postgresql Auto Update Column
- PowerAutomate Flow not behaving as intended for SharePoint List Modifications; Issue may be Trigger formulas
- Safely using TRUNCATE with active AFTER INSERT triggers in PostgreSQL?
- While-loop in Python script not working when a record is added in MySQL table from triggers
- Installable Trigger not being installed in published Google Forms Editor Add-On
- Error: pq: at or near "update_assignee_columns_trigger": syntax error: unimplemented: this syntax
- Why does the trigger execution log for a sendEmail function of my google script project says it's completed, and yet no actual emails are being sent?
- SQL Server trigger is blocking data to the table
- Logic app blob trigger retry policy not working for 503 error
- Data Factory triggers two releases on Azure DevOps after Pull Request
- Trying to run a procedure inside After insert trigger , even though procedure run for 10 mins last row updated time is same as 1st row
Related Questions in ORACLE11G
- Whatever the data available in previous record it should add to the new record
- Identifying invalid dates in Oracle database due to daylight saving time changes
- How to perform arithmetic calculation between rows in oracle Pl/Sql
- Oracle Performance Slow with Select Union From Dual in Join Statement
- How to reduce the size of tif files before inserting into the oracle database
- Passing table name dynamically each time
- ORA-06550 and PLS-00306 Errors When Calling Stored Procedure with UDT Table Parameter using ODP.NET on .NET 6
- oracledb.exceptions.DatabaseError: DPY-4011: the database or network closed the connection - python oracledb library
- Spring boot oracle 11g sequence stored is different from the value shown in the model
- Update or Insert into table, using rows from same table
- how to fix PLS-00306: wrong number or types of arguments in call to 'DEQUEUE'
- Oracle materialized view refresh on two different schedules
- How may I perform OCIPing (or equivalent) from a .Net application?
- is the documentation for oracle-sql and mysql the same with respect to the definitions, syntaxes and rules?
- How to Extract Database Connection Information from JInitiator 1.1.8.16 Files?
Related Questions in AUDIT-TRAIL
- Log all data passing on socket
- Elastic Search - How to forward Elastic Search Audit Logs to an external storage?
- Audit of all user-initiated activity within a Snyk org/group
- Why won't Oracle's Unified Audit Trail pick up the ALTER SESSION statement?
- 21 CFR Part 11 compliance questions
- Trigger/Procedure/Audit method to get the module details of all the DML,DCL,DDL performed by "SYS" user on a particular schema
- Spring Boot AuditAware - Database not updating
- OAuth and Audit Logs
- Child entity showing updated value in the OriginalValue property in the Entity Framework Core Audit Trail
- How can I track related module/sql information in Oracle's Unified Audit Trail?
- How to export/download audit summary records for a Dataverse table into an Excel workbook or as a CSV?
- How can I audit all DDL for a specific schema in Oracle with the Unified Audit Trail?
- Superset with Athena: set workgroup based on user role
- Prevent spoofing on git repositories on Azure DevOps
- Getting same Current and Original value of change tracker modified state
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Is there a reason you want to reinvent the wheel? Why not make use of Oracle's inbuilt auditing?
Oracle Base provides some basic info as to how to get started on Auditing:
The following list provides a description of each setting:
To enable auditing to database audit trail enable auditing to db
Shutdown & restart the db
Now to audit
SELECTS,INSERTS,UPDATES,DELETESby usercubedo this:The audited logs can be brought up by querying
DBA_AUDIT_TRAILFurther reading: