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 best solutions below
Related Questions in TRIGGERS
- PL SQL After Delete Trigger Not Inserting Record
- change content button with trigger
- Insert into Change Log based on Trigger After Update
- Animation Trigger (Storyboard + Trigger) in C#
- delete trigger to delete row in another table in another database sql
- Add extra column in insert with instead of trigger
- Check if inserted row is the same as current
- SQL Trigger Error Code
- Trigger vs. Dependency Property precendence
- Mysql #1235 error code, when create 2 triggers with different purposes
- if x not in(select y from table) in oracle
- Edit DataGrid Cell on mouse over
- SQL Trigger Update Average
- SQL Trigger doesn't get fired
- Get deleted values from 3 tables and put in 1 table
Related Questions in ORACLE11G
- Building an sql execution plan history
- how to update the date field for this specific condition using oracle query?
- Insert Into SP in Oracle Sql Developer
- Trying to update an ORACLE 11G DB with C# Asp.net using Oracle Managed Driver.
- Require tool to trace the LInq Queries in Oracle
- Oracle 11g : staging table
- Persist the value of one column in two simultaneous update
- Trigger From Oracle to SQL SERVER
- how to check succeeded and failed sending a message in gsmcomm library
- How to install Oracle XE for windows32 properly?
- use select under case statement
- Merge table in Oracle with delete condition refering to source table
- Oracle 11g to PostgreSQL - CREATE TYPE OBJECT
- Import dmp file created in Oracle 11g (WE8ISO8859P1) to Oracle 11g XE database (AL32UTF8)
- Changing start date for system jobs related to automatic statistics collections in 11g
Related Questions in AUDIT-TRAIL
- FInd who deleted permission set in salesforce
- How to save the submitter name/editor name/creation time?
- Capturing Logged In User Page Visits/ clicks on images/hyperlinks/buttons - User Activity Audit Trailing
- Sybase query to retrieve dba activity
- SQL tracking changes
- Capturing audit trail information via REST
- Audit Trails for Adding/Modifying Fields, Tables, Layouts, Scripts in Filemaker 13
- What do you think of this approach for logging changes in mysql and have some kind of audit trail
- How to check audit trail size and flush or truncate audit trial?
- Ideas, Tips, Tools, Framework for implementing Audit
- How to implement an Audit Log in Sql Server
- how to retrieve a value from an userform
- Creating a global trigger that listens to multiple tables
- Audit trail techniques
- Dynamic SQL - Picking the values from the temp table
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)
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?
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: