-171 The function argument is not valid.

Explanation

The data type, length, or value of a function argument is not valid.

User response

Correct the SQL statement. If the cause of the error is not apparent by sight-checking the SQL, consult the data server log for more information.