2604 Bad argument involving %TVMID.%FLDID for SQRT function.
SQRT called with negative or non-numeric argument. The indicated field is a part of the argument.
The interpretative instruction processor.
The TvmId and FldId can be from the source or target row.
Change query to avoid bad call to SQRT.