Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Index question
Here is sql that I used, hope this help.
Joan
set lines 132
col column_name format a15
col index_name format a20
break on index_name skip 1
select c.index_name,c.column_name,i.uniqueness
from dba_ind_columns c,dba_indexes i
where c.table_name = upper('&Enter_Table_Name')
and c.table_name=i.table_name
and c.index_name=i.index_name
order by c.index_name, c.column_position
/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Joan Hsieh
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Jun 25 2003 - 14:04:52 CDT
![]() |
![]() |