SDO_GCDR.GEOCODE_ADDR_ALL Fails with PL/SQL: numeric or value error

(Doc ID 2381007.1)

Last updated on MARCH 30, 2018

Applies to:

Oracle Spatial and Graph - Version 12.1.0.2 to 12.2.0.1 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

On 12.1 and 12.2, SDO_GCDR.GEOCODE_ALL and SDO_GCDR.GEOCODE_ADDR_ALL queries fail with the following error:

ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "MDSYS.SDO_GCDR", line 594
ORA-06512: at "MDSYS.SDO_GCDR", line 679
ORA-06512: at "MDSYS.SDO_GCDR", line 845
ORA-06512: at line 1

The same queries using SDO_GCDR.GEOCODE and SDO_GCDR.GEOCODE_ADDR return the expected results.

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