SEM_MATCH Fails With ORA-06592: CASE Not Found While Executing CASE Statement (Doc ID 1548421.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

A SEM_MATCH query on an empty model fails with the following error message:

SQL> SELECT s, p, o FROM TABLE (SEM_MATCH('{?s ?p ?o}', SEM_Models('M_NAMED_GRAPHS'), NULL, NULL, NULL, NULL, NULL));
SELECT s, p, o FROM TABLE (SEM_MATCH('{?s ?p ?o}', SEM_Models('M_NAMED_GRAPHS'), NULL, NULL, NULL, NULL, NULL))
*
ERROR at line 1:
ORA-06592: CASE not found while executing CASE statement
ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 209
ORA-06512: at line 4

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