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?
相关问题
- System.Data.OracleClient not working with 64 bit O
- Script fails on SpreadsheetApp.openById - Requires
- employee id automatic generate with prefix
- CSV to Oracle via Odo and SQL Alchemy
- PLSQL: Possible to use BOOLEAN datatype in SQLPLUS
相关文章
- Trigger on INSERT ON DUPLICATE KEY
- Google app script trigger not working
- increment function in plsql
- Cannot use text, ntext, or image columns in the
- How to combine DataTrigger and EventTrigger?
- Current version of data in database has changed si
- Is it possible to send a google form with a trigge
- cassandra 3.5 fails to load trigger class
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
,DELETES
by usercube
do this:The audited logs can be brought up by querying
DBA_AUDIT_TRAIL
Further reading: