Convert to currency or money format in DB2 -


i have column of datatype dec (16,2) possible value 20000.00. want result in comma-separated currency or money format this: 20,000.00.

as of planning divide 1000's , concat comma. want know if db2 has inbuilt functionality covert this. or other easier method convert integer currency format.

select a.billing_amount  transaction_table ur; 

you can try:

 select decimal(a.billing_amount,9,2) transaction_table ur; 

Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -