My Oracle Support Banner

Audit Trigger Is Not Capturing the Username for CREATE DATABASE LINK Statement. (Doc ID 2307820.1)

Last updated on MARCH 04, 2022

Applies to:

PL/SQL - Version to [Release 11.2 to 12.2]
Information in this document applies to any platform.


To show how to capture the user name for CREATE DATABASE LINK statement. Generally the ORA_DICT_OBJ_OWNER will give the name of the user for the DDL statement but it is not capturing the name only for CREATE DATABASE LINK statement. For example, when the below code is run, it is not showing the user name for create database link DDL. 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.