Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: What Indexes do I have???
In article <6csisi$sdm_at_clarknet.clark.net>,
cnelson_at_127.0.0.1 (Craig Nelson) wrote:
>
> Anyone know how to list the names and other attributes of Indexes inside a
> table? I know I can DROP INDEX Mytable.mycolumn_index, and it works great
> if you know the name.
>
You can query USER_INDEXES or ALL_INDEXES or DBA_INDEXES to find the tablename and indexes on the tables. To find the column names for each index use USER_IND_COLUMNS or ALL_IND_COLUMNS or DBA_IND_COLUMNS.
Denny
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Wed Feb 25 1998 - 00:00:00 CST