You need to query the data dictionary.  I forget the actual table that
holds the index information, but if you query "All_Tables", if you have
permission, then you might see it there.

I'm thinking it was "All_Indexes" or "User_Indexes" or something like
that.

Do this in sqlplus:
SELECT *
FROM ALL_Tables
WHERE 1=0

This query should give you the column names w/o any records.  This
should help you get started finding the table the contains the index
information.  (It's been a while since I use sqlplus, however.  YMMV)

You should contact your Oracle sales rep and have them send you a few of
the Oracle data dictionary posters.  They are quite handy.

M!ke 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 4:31 PM
To: CF-Talk
Subject: OT: Retrieve index name in ORacle

I need to find the name of an index on a table in an ORacle database. I
only have sqlplus. Anybody know how to get the index name?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202691
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to