Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: I need help with SQL
Try
SET NUMWIDTH n where n is the maximum number of digits in your total.
You can also use the SQL*Plus Column command:
COLUMN total balance FORMAT '999,999,999,999.99'
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 10/18/00, 8:23:08 PM, "Brian Vuong" <brian-vuong_at_usa.net> wrote regarding I need help with SQL:
> I have the following query
> spool list.lst
> select account(*), sum(balance)
> from table1
> ;
> spool off;
> --The total balance is so large that it gives me only '###########'
instead
> of digits such as '74857843389349'. Is there anyway I can fix this?
Any
> help is appreciated.
> I use SQLPLUS.
> Thanks,
> Brian Vuong
Received on Wed Oct 18 2000 - 22:54:01 CDT
![]() |
![]() |