logo  
Google
 

DB2 SQL-Error: -171

SQLState: 42815

Short Description: THE DATA TYPE LENGTH OR VALUE OF ARGUMENT OF IS INVALID

Either the data type, the length or the value of argument nn of scalar function function-name is incorrect. If the encoding scheme is EBCDIC or ASCII, a possible reason for this error is that a character argument was specified for a built-in function that expects a graphic argument, or a graphic argument was specified for a built-in function that expects a character argument. The UNICODE encoding scheme does support the mixing of character and graphic arguments. System action: The statement cannot be executed. Programmer response: Correct the statement. Refer to Chapter 3 of DB2 SQL Reference for rules for each argument of the scalar function function-name.

 <-  BACK TO INDEX