-16052 NAN CANNOT BE USED AS A FLOAT OR DOUBLE VALUE IN A DATETIME OPERATION. ERROR QNAME=ERR:FOCA0005.

Explanation

The value NaN was passed as an argument to a datetime operation, but that value is not valid for datetime operations.

System action

The XQuery expression was not processed.

Programmer response

Pass a valid float or double value to the datetime operation.

SQLSTATE

10602