Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2007
    Posts
    130

    Unanswered: 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

  2. #2
    Join Date
    Oct 2007
    Posts
    246
    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

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    You can also try
    Code:
    DESCRIBE INDEXES FOR TABLE ...
    Last edited by n_i; 11-29-10 at 09:52.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •