Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Need an SQL*Plus script to show indexes on a given table
Hi ,
Here is the script to show indexes on a given table
select b.column_name, a.index_name, a.uniqueness,b.column_position
from user_indexes a, user_ind_columns b
where a.index_name = b.index_name
and a.table_name = b.table_name
and a.table_name = UPPER('&1')
ORDER BY b.column_position;
Hope this helps
AMARENDRA B NETTEM
OARCLE DBA
Residence:
(312) 913 6758 (W)
E-mail:nettama_at_charlie.cns.iit.edu,
anettem_at_whittman-hart.com
Homepage: http://www.iit.edu/~nettama
![]() |
![]() |