My Oracle Support Banner

EM 13c: Generating DDL For Users/Roles With "READ ON" Tables/Views Adds "DIRECTORY" Into Generated SQL Statement (Doc ID 3012627.1)

Last updated on MARCH 25, 2024

Applies to:

Enterprise Manager for Oracle Database - Version 13.5.1.0.0 and later
Information in this document applies to any platform.

Symptoms

In Enterprise Manager Cloud Control, Generating DDL For Users/Roles With "READ ON" Tables/Views Adds "DIRECTORY" Into Generated SQL Statement

Steps to reproduce the problem:

1. Login to SQLPLus of any target DB monitored by EM.
2. SQL> grant read on <Table OR View> to <User>;
3. From EM console => Open the home page of the target DB => Security => Users
4. Select the radio button next to <User>
5. In the "Actions" drop-down, select "Generate DDL" and click the Go button
6. The following grant statement is showing and incorrectly has the "DIRECTORY" keyword: GRANT READ ON DIRECTORY <Table OR View> to <User>;

Cause

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
Symptoms
Cause
Solution
References


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