$ 0 0 Seems like cust_Acct_nbr contains a character data and thus failing the casting operation. Make sure that cust_Acct_Nbr is numeric only!