Hi ,
I have a requirement where in I need to display the decimal value of
0.00 as '######.00'
SELECT case when DECIMAL(AMT_CHE QUE,31,2) = 0.00 THEN
9999999999999.9 999999
ELSE DECIMAL(AMT_CHE QUE,31,2)
END AS AMT_CHEQUE
FROM DB2ADMIN.RPT_BA _PADC161
I dont want to display 9999999999.9999 rather I want some values
like '#########.00 '
to be displayed .
Can u please help .
I encounter error ...saying that final result is not compatiable . Is
it possible to convert the above .
Regards
Bikash
I have a requirement where in I need to display the decimal value of
0.00 as '######.00'
SELECT case when DECIMAL(AMT_CHE QUE,31,2) = 0.00 THEN
9999999999999.9 999999
ELSE DECIMAL(AMT_CHE QUE,31,2)
END AS AMT_CHEQUE
FROM DB2ADMIN.RPT_BA _PADC161
I dont want to display 9999999999.9999 rather I want some values
like '#########.00 '
to be displayed .
Can u please help .
I encounter error ...saying that final result is not compatiable . Is
it possible to convert the above .
Regards
Bikash
Comment