SQL Statements Containing Duplicate Column Names Fail With ORA-918
(Doc ID 2579305.1)
Last updated on OCTOBER 17, 2022
Applies to:JDBC - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
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
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