How to format Number [message #372001] |
Wed, 03 January 2001 07:38 |
sri
Messages: 154 Registered: February 2000
|
Senior Member |
|
|
hi,
I want to format the number while displaying.
for eg. 1234546 will be displayed as 1,234,546.
Please suggest if there any to get this through SQL statement
|
|
|
Re: How to format Number [message #372004 is a reply to message #372001] |
Wed, 03 January 2001 08:21 |
Bala
Messages: 205 Registered: November 1999
|
Senior Member |
|
|
Hi,
From sql plus......
SQL> column column_name format 9,999,999;
SQL> select column_name from t1;
1,234,567
using just sql.....
SQL> select to_char(column_name, '9,999,999') from t1;
|
|
|
|