ORA-942 when Selecting an XMLType Column Over a Database Link (Doc ID 2278608.1)

Last updated on JUNE 20, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.2.0.1 [Release 11.2 to 12.2]
Information in this document applies to any platform.

Symptoms

Selecting an XMLType column over a database link fails with the following error:

ERROR at line 5:
ORA-00942: table or view does not exist
ORA-06512: at "SYS.XMLTYPE", line 272
ORA-06512: at line 1

Your query executes successfully if you run it locally on the remote database without a database link.

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