Oracle Error ORA-19136: XQST0076: It is a static error if a collation subclause in an order by clause of a FLWOR expression does not identify a collation that is present in statically known collations

Oracle Error Message

ORA-19136: XQST0076: It is a static error if a collation subclause in an order by clause of a FLWOR expression does not identify a collation that is present in statically known collations

Reason for the Error

An error occurred during the processing of the XQuery expression.

Solution

Check the detailed error message for the possible causes.