|
| Re: SQLPLUSW spooling [message #316401 is a reply to message #316398 ] |
Fri, 25 April 2008 00:28   |
Michel Cadot Messages: 15244 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
There is 2 options:
- You use default SQL*Plus setting
- You set explicitly set
If you choose the first option, nothing can be done, it is internal.
Regards
Michel
|
|
|
| Re: SQLPLUSW spooling [message #316407 is a reply to message #316398 ] |
Fri, 25 April 2008 00:46   |
cgk_js Messages: 45 Registered: December 2005 |
Member |
|
|
The second approach, that is finding the max size of the column and setting it in the col <colname> format is ok, for small tables, and for varchar2 datatype.
How can we do it for large tables and also for the values with decimal numbers.
eg
1000000.100
0.111
0.55555555555
Thanks
Gopal.
|
|
|
| Re: SQLPLUSW spooling [message #316410 is a reply to message #316407 ] |
Fri, 25 April 2008 00:53  |
Michel Cadot Messages: 15244 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
As it is a manual mode, you have to know the max length for each.
Note that for numbers you can use "set numwidth" (defaulted to 10).
Regards
Michel
|
|
|