Professional Documents
Culture Documents
Queries Failing With ORA-00918 Since Applying 19.17DBRU or Higher (Doc ID 2936045.1)
In this Document
Symptoms
Cause
Solution
References
APPLIES TO:
SYMPTOMS
Since applying 19.17.0.0.221018DBRU or higher, application queries are failing with an ORA-00918:
VERSION
-----------------
12.2.0.1.0
SQL> @q
SQL> SELECT d.dummy
2 FROM dual d1
3 INNER JOIN dual d ON d.dummy = d1.dummy
4 LEFT JOIN dual d ON d.dummy = d1.dummy
5 AND d.dummy = 'Y';
D
-
X
VERSUS
VERSION_FULL
-----------------
19.18.0.0.0
The fix for bug.29015273, which introduced more strict checks on ambiguous column reference by queries with nested ANSI
joins, is included in 19.17.0.0.221018DBRU onwards. While the fix to bug.29015273 is fully correct, the change in behaviour
leads to ORA-918 error to be raised in some applications.
SOLUTION
1. Apply one-off patch.34774426 or 19.18.0.0.230117DBRU. The January 2023 DBRU includes patch.34774426.
The patch.34774426 introduces a fix control parameter to revert the fix temporarily.
2. After applying patch.34774426, set the following to disable the fix of bug 29015273:
_fix_control='29015273:ON'
Session altered.
VERSION_FULL
-----------------
19.18.0.0.0
Session altered.
D
-
X
REFERENCES
NOTE:2118136.2 - Assistant: Download Reference for Oracle Database/GI Update, Revision, PSU, SPU(CPU), Bundle Patches,
Patchsets and Base Releases
NOTE:827984.1 - How to use the _FIX_CONTROL hidden parameter
Didn't find what you are looking for?