Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: SQL Plus
Jill wrote:
>
> Is there anyway to do this globally? We have a table with about 40 or 50
> columns, and I just want to select * from it.
>
You really want blood don't you Jill baby.
You cannot do it globally.
try creating a spoolfile:
select 'col ' || column_name ||' format a25'
from all_tab_columns
where table_name = upper('&table_name');
then run your edited spool file in your sql session.
Hope this helps.
--
![]() |
![]() |