SQL Statements Containing Duplicate Column Names Fail With ORA-918
(Doc ID 2579305.1)
Last updated on OCTOBER 17, 2022
Applies to:
JDBC - Version 12.1.0.2.0 and laterInformation in this document applies to any platform.
Symptoms
From SQL*Plus, and from the 11.2 JDBC driver, SQL statements that contain duplicate column names complete successfully.
However, when using the 12.1 (or above) JDBC driver, the same SQL statement fails with the following error:
ORA-918: column ambiguously defined
Changes
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 |