Error 912

"Insufficient memory for OPENXML query"

Item Description

SQLCode

-912L

Constant

XQUERY_MEMORY_ERROR

SQLState

WX016

ODBC 2 State

ERROR

ODBC 3 State

ERROR

Sybase Error Code

2577

Severity Code

17

Probable cause

The memory used by an OPENXML query may be proportional to the maximum distance between elements or attributes returned by a single row. For example, a query where some row uses the value from both the first and last element in the document may use memory proportional to the size of the document. One solution is to increase the cache size. Another is to break a query that refers to distant elements into several queries that refer to nearby elements and join the results.


Created April 27, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com