Previous Topic: -42 - INVALID USE OF ESCAPE CHARACTER IN PATTERN OF LIKE PREDICATENext Topic: -44 - HOST VARIABLE NUMBER <xxx> HAS INVALID DATA TYPE <xxx>


-43 - COLUMN FUNCTION ON INVALID TYPE

Reason:

A column function, such as SUM or AVG, has been used in relation to a column which is not of a valid type for that function.

The SQLSTATE that equates to this SQL return code is 53S04.

Action:

Verify that the type of the data column involved is compatible with the desired function. For instance, it is not possible to SUM character columns.