I have an audit trigger used for source control where we track all oracle (12c) object modifications. How can I get the "new" object name within a rename (whether through "alter" or "rename")? Regardless if I fire the trigger before or after "ALTER or RENAME or DDL ON DATABASE", I see the "old" name in ORA_DICT_OBJ_NAME.
Oracle 12C Audit Trigger On Rename
341 Views Asked by Christine At
1
There are 1 best solutions below
Related Questions in ORACLE
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Oracle Managed Data Access Client can't work from IIS but work for local debug environment
- If composite indexing created - indexing is called?
- Oracle Http server ISNT-07551
- why here not creating table?
- Data migration from Oracle Database Clob to GCP Bucket
- SQL Alchemy custom type, forcing blob bind parameter
- How to send message to syslog agent in plsql
- Whatever the data available in previous record it should add to the new record
- I have an Oracle SQL query that is giving me a "ORA-00918: column ambiguously defined" error on a line that is a comment line
- 'ORA-12170: TNS:Connect timeout occurredORA-12170: TNS:Connect timeout occurred' ERROR while working on oracle with laravel
- Is their any way i can open parallel query tabs
- VSCode Libraries not showing for New Java Project
- I can't ssh to my instance, Connection refused
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 AUDIT
- Angular, new project, npm audit high severity vulnerabilities
- Get Office 365 Group Audit log details through GraphAPI
- Force tcsh to check whether command exist in the path before attempting to execute it
- Can a detection be written from Github audit events that finds commit/pushes done after review approvals in pull requests?
- SQL audit log files are getting too large
- How will a back dated transaction insert be traced in a timeseries container in griddb?
- Create DB audit specification without ALTER ANY DATABASE AUDIT
- Echidna(Fuzz) assertion test fail about sending ether
- Can I audit a website to see what pages are not referenced anywhere?
- Oracle spillover file generation
- Hibernate envers, audit history returns strange structure
- Keycloak "Audit Admin Events" as Default for all Realms
- Is there any way to audit SSIS total data transfer size?
- Root user doesn't have permission to setgid when command executed by auditd event handler
- audit: type=1400, apparmor='denied'
Related Questions in TABLE-RENAME
- Postgresql - How to safely rename table
- Pandas rename columns according to my dict
- EF core Invalid object name after table rename in App Service stg env
- When Renaming table name, it is actually dropping table from Mysql - Using PHP
- Table Renaming in an Explicit Transaction
- Python PyQt5 - How to rename table headers?
- postgresql: is possible to rename a table from db1 to db2?
- Oracle: Rename column gives "ORA-00903: invalid table name" error even when no constraint or index is there
- How Do You Rename a Table in Bigtable?
- Renaming database that has tables with triggers
- monitor renaming a table in a sql server database with trigger
- Renaming the column names in batch using SQL Server 2012
- How do I rename a model with Django?
- Renaming postgres table will drop existing indexes?
- How can I detect renaming operations on tables and columns?
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 # Hahtags
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?
You can use function
ORA_SQL_TXTto catch the triggering statement(via the functions out parameter) and then extract the name of the new object.edit: I replaced
ORA_SQL_TEXTwithORA_SQL_TXT;