My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

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

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
Symptoms
Cause
Solution


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