Previous Topic: -194 - IT IS INVALID TO ADD xx AND zz DATATYPESNext Topic: -198 - YEAR yy IS LARGER THAN 99


-195 - IT IS INVALID TO SUBTRACT xx AND zz DATATYPES

Explanation

You are trying to subtract incompatible data types. xx and zz represent the hexadecimal data type values. See the CA Datacom/DB SQL User Guide for DATE/TIME arithmetic rules.

The SQLSTATE that equates to this SQL return code is 42818.

User Response

Correct the query to subtract compatible data types.