The output should not be like as below :
db2 => select char(decimal(BAL_PRINCIPAL,31,2)) from
BIKASHK.RPT_BA_PAD331 where
integer(Bal_principal)!=0
1
---------------------------------
00000000000000000000010025000.00
00000000000000000000010025000.00
00000000000000000000010025000.00
00000000000000000000010025000.00
4 record(s) selected.
Rather It should be
10025000.00
10025000.00
10025000.00
10025000.00
For the above 4 rows and it should be 'char' in data type.
Appreciate your help .
Best Regards
Bikash Karan
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Hi Serge ,
Thanks It worked . I did modified it a bit .
Thanks :)
Regards
Bikash Karan