Xmlagg Query Fails Silently Or Gives ORA-22813: Operand Value Exceeds System Limits (Doc ID 1456531.1)

Last updated on JULY 19, 2017

Applies to:

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

Symptoms

XML DB query began to produce invalid results. Part of the XML content produced by the query is missing, when number of rows handled by the query exceeds certain limit (the number of rows the query should handle is 88 in this case - not exactly a large set). When the number of rows handled by the query is restricted (by using where rownum < limit), the query also throws exception ORA-22813 with certain values of the rownum limit.

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