E-QR: Ambiguous Column Name Error For Query With Translate Values

(Doc ID 2312912.1)

Last updated on SEPTEMBER 29, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.

Symptoms

Query with a left outer join resulting in the following error:

A SQL error occurred. Please consult your system log for details.
Error in running query because of SQL Error, Code=8601,
Message=[Microsoft][SQL Server Native Client 11.0][SQL Server]Ambiguous
column name 'JOURNAL_DATE'. [Microsoft][SQL Server Native Client 11.0][SQL
Server]Statement(s) could not be prepared. (SQLSTATE 37000) 8180 (50,380)

Looking at the executed SQL for the affected Query, the column referred to in error message was missing the alias.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms