Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: which columns are indexed
save this as a script, and run it from sqlplus.
break on index_name;
accept ls_table_name prompt "Enter the table to list indexes for: " ;
select substr(index_name, 1, 30) index_name,
substr(column_name, 1, 20) column_name, column_position
In article <397339CB.978FF636_at_its.brooklyn.cuny.edu>,
A D Hager <adhager_at_its.brooklyn.cuny.edu> wrote:
> Is there any way to determine which columns in a table have been
> indexed?
> Is there any way to determine what ann index indexes?
>
> Thanks,
>
> Aaron
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Jul 17 2000 - 00:00:00 CDT
![]() |
![]() |