Getting the following error by executing the following query
variable pp=“1234”
Query:“select PLAN_ID from SCH.PPOL where pol_id=”& pp &“”
Error:
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Data.Odbc.OdbcException: ERROR [22018] [IBM][CLI Driver][DB2/AIX64] SQL0420N Invalid character found in a character string argument of the function “DECFLOAT”. SQLSTATE=22018