Use FNC_LobRef2Loc to copy values from the intermediate storage into the result during the final aggregation phase in an aggregate UDF.
The LOB_REF argument is validated to the extent possible. If the argument is not valid, the request that invoked the UDF fails. Control does not return to the UDF.