My Oracle Support Banner

ORA-01722, ORA-01839, ORA-01841, ORA-01847 or ORA-01858 from Queries with Dependent Predicates (Doc ID 232243.1)

Last updated on JANUARY 19, 2025

Applies to:

Oracle Database - Enterprise Edition - Version 6.0.0.0 and later
Oracle Database - Personal Edition - Version 7.1.4.0 and later
Oracle Database - Standard Edition - Version 7.0.16.0 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.

Purpose

To explain the possible causes of these errors in SQL statements that include predicates that are dependent on each other.

Scope

DBA's, architects, developers, Support analysts

Details

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
Purpose
Scope
Details
 Problem:
 Explanation:
 Solution
 Examples:
 Varchar predicates compared with Varchar columns:
 Varchar column converted to 'number' and compared with a numeric value
 View example with Varchar column converted to 'number' and compared with a numeric value
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.