Truncate Table Procedure Not Working With ODV , Insufficient Privileges
(Doc ID 2953263.1)
Last updated on JULY 16, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 19.18.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
A fresh 19c database is installed with ODV and ODV is enabled. No custom realm has been configured and only standard pre existing oracle realm are present.
There are two schemas tc1 and tc2. Table "testtable" is owned by tc2 and tc1 has "drop any table" privilege.
So tc1 user should be able to truncate tc2.testtable but was getting the below. Ideally it should be it should be able to truncate as it has the "drop any table privilege" and table is not protected by any DV realm. But we are seeing below error.
Changes
Only DV was enabled.
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 |
Changes |
Cause |
Solution |
References |