Showing posts with label ora-00918 problem fix. Show all posts
Showing posts with label ora-00918 problem fix. Show all posts

Friday, October 28, 2022

Ora-00918 Column Ambiguously Defined

 ORA-00918 column ambiguously defined

    Oracle Database Error Code Messages ORA-00918 Help About Description;

Column ambiguously defined.

    Cause for Error and Problem;

A column name used in a join exists in more than one table and is thus referenced ambiguously. In a join, any column name that occurs in more than one of the tables must be prefixed by its table name when referenced. The column should be referenced as TABLE.COLUMN or TABLE_ALIAS.COLUMN. For example, if tables EMP and DEPT are being joined and both contain the column DEPTNO, then all references to DEPTNO should be prefixed with the table name, as in EMP.DEPTNO or E.DEPTNO.

    How to Solve;ORA-00918 column ambiguously defined?

    Action for Solve and Fix Ora-00918;

Prefix references to column names that exist in multiple tables with either the table name or a table alias and a period (.), as in the examples above.

Next Post Ora-01501;

Ora-01501 CREATE DATABASE Failed

Featured Post

Ora-00921 Unexpected end of SQL Command

 ORA-00921 unexpected end of SQL command     Oracle Database Error Code Messages ORA-00921 About Help Description; Unexpected end of SQL com...

Search This Blog