$ 0 0 Try the other way round.. First Cast it as Decimal and then sum.. SUM(CAST (DB2ADMIN.IS_PRT_SALES.CNT) AS DECIMAL))