Discoverer 11g Desktop / Plus Returns ORA-920 or Performance Issue Because +((0)) is Added Date Fields (Doc ID 1216313.1)

Last updated on SEPTEMBER 27, 2016

Applies to:

Oracle Discoverer - Version 11.1.1.2.0 to 11.1.1.6.0 [Release 11g]
Information in this document applies to any platform.
Checked for relevance on 27-Nov-2013

Symptoms

Discoverer 11g (11.1.1.2.0 or greater), both Desktop and Plus, will not allow a negative condition which is related to a date item in the outer portion of an outer join, when connected to an 11g database.

For Example:

There is a table of employees and a table of sales, and reporting all possible employees plus any sale cases for those employees (outer join) but not cases (negative condition) where the end date of the sale case is blank (using a date field on the outer side of the query).

Depending on the query this may returns errors, like:

ORA-920: invalid relational operator

~ or ~

ORA-00932-Inconsistent Datatypes: expected number got date

Alternatively, the query may not fail, but will run slowly resulting in query performance degradation in Discoverer Desktop, Plus, or Viewer 11g (version 11.1.1.2 or 11.1.1.3).

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