My Oracle Support Banner

Insert Into Schema Based Table Gives 'ORA-19007: Schema and element do not match' (Doc ID 309677.1)

Last updated on APRIL 29, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.8 and later
Information in this document applies to any platform.

Symptoms

 A schema is registered as USERA.
USERA then creates an XMLTYPE table referencing this schema.
USERB is granted all on the table.
USERA can successfully insert documents into the table.
USERB CANNOT successfully insert documents into the table, but instead receieves error :-

ORA-19007: Schema and element do not match

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!


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