E-QR: ORA-01790 Error When Adding Numerical Expression To Union (Doc ID 2246993.1)

Last updated on MARCH 22, 2017

Applies to:

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

Symptoms

When creating a numerical expression and adding it as a field to a union, the following error message can be seen:

A SQL error occured. Please consult your system log for details.
Error in running query because of SQL Error, Code=1790, Message=ORA-01790: expression must have same datatype as corresponding expressions (50,380)

This is occurring when the expression text is set as quote marks, such as ('') or (' ').  The error is seen in both the 2-tier Query Tool as well as on the web in Query Manager.

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