logo  
Google
 

DB2 SQL-Error: -301

SQLState: 42895

Short Description: THE VALUE OF INPUT HOST VARIABLE OR PARAMETER NUMBER CANNOT BE USED AS SPECIFIED BECAUSE OF ITS DATA TYPE

DB2 received data that could not be used as specified in the statement because its data type is incompatible with the requested operation. The position-number identifies either the host variable number (if the message is issued as a result of an INSERT, UPDATE, DELETE, SELECT, VALUE INTO, or SET assignment statement), or the parameter number (if the message is issued as the result of a CALL statement, or the invocation of a function). System action: The statement cannot be executed. Programmer response: Correct the application program, function or stored procedure. Ensure that the data type of the indicated input host variable or parameter in the statement is compatible with the way it is used.

 <-  BACK TO INDEX