If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to see the indexes on DB2 Tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-29-10, 08:25
cy163 cy163 is offline
Registered User
 
Join Date: Apr 2007
Posts: 127
How to see the indexes on DB2 Tables

Hi All,

I am using DB2 9.1. I wonder what command can help me see ALL indexes created on a table.


Thanks
Reply With Quote
  #2 (permalink)  
Old 11-29-10, 08:29
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
db2look -d dbname -z schemaname -t tablename -e -x -nofed
will give u the indexes details
or even thru syscat.indexes will give u the info
regds
Paul
Reply With Quote
  #3 (permalink)  
Old 11-29-10, 08:48
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
You can also try
Code:
DESCRIBE INDEXES FOR TABLE ...

Last edited by n_i; 11-29-10 at 08:52.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On