Solved

Convert numbers to comma separated numbers in oracle query

Posted on 2012-03-13
2
535 Views
Last Modified: 2012-06-21
I have amount . I need that amount to be comma separated numbers.
For example 10000 = 10,000. How to do that query in oracle.

See my query here:
select sum(violation_Amount) as TotAmount from tab1 where Month_Name = 'JAN' and year_name = '2012'

Just update this query please.

Regards
Shaji
0
Comment
Question by:mshaji
2 Comments
 
LVL 11

Accepted Solution

by:
rowansmith earned 500 total points
Comment Utility
select to_char(sum(violation_Amount), '999,999,999') as TotAmount from tab1 where Month_Name = 'JAN' and year_name = '2012'
0
 

Author Closing Comment

by:mshaji
Comment Utility
Done
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to recover a database from a user managed backup

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now