Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: how do I find out column name on which a index is build

Re: how do I find out column name on which a index is build

From: David Fitzjarrell <oratune_at_aol.com>
Date: Tue, 09 Jan 2001 23:48:00 GMT
Message-ID: <93g7vf$h9c$1@nnrp1.deja.com>

In our last gripping episode shdu_at_my-deja.com wrote:
> how do I find out column name on which a index is build
> Thanks
>
> SF
>
> Sent via Deja.com
> http://www.deja.com/
>

Utilise one of the following views:

USER_IND_COLUMNS     Indexed columns on tables the user owns
ALL_IND_COLUMNS      Indexed columns on tables the user has access to
DBA_IND_COLUMNS      Indexed columns on all tables in the database
                     (requires DBA privileges)

One can query the index name, table name, column name, column position and column length for any index (depending, of course, upon which view one chooses).

--
David Fitzjarrell
Oracle Certified DBA


Sent via Deja.com
http://www.deja.com/
Received on Tue Jan 09 2001 - 17:48:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US