Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Viewing an Index
-----Original Message-----
From: Tanel Poder [mailto:tanel@@peldik.com]
>> Do you want to see it's definition?
>> select * from user_indexes where table_name = 'xxx';
>> from there you'll see which indexes are on a table.
>> select * from dba_ind_columns where index_name = 'iiii';
>> ..shows you on which exact columns the index is built.
And, when you have the column names and order they are in, you can do :
select rowid, column_1, column_2 .....
from table_name;
and you will see the contents of the index :o)
Cheers,
Norm.
Tel: 0113 289 6265 Fax: 0113 289 3146 URL: http://www.Lynx-FS.com -------------------------------------Received on Wed Jul 23 2003 - 03:50:53 CDT
![]() |
![]() |