logo  
Google
 

DB2 SQL-Error: -20289

SQLState: 428GC

Short Description: INVALID STRING LENGTH UNIT SPECIFIED FOR FUNCTION

The statement invoked a built-in function using a string length unit that is not valid with the type of data that is provided to the function. This can occur for the following reasons: v non-string data that is specified with an explicit length unit unit for the LENGTH function. A string length unit cannot be specified for non-string data. v bit data or binary data was specified with unit. CODEUNITS16, or CODEUNITS32 are not valid with bit data or binary string data. v graphic data was specified with OCTETS as the string length unit. OCTETS is not valid with graphic data.System action: The statement cannot be executed. Programmer response: Change the invocation of the function to remove the invalid string length unit or change it to a valid unit for the data type being processed.

 <-  BACK TO INDEX