DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: How to list contents of index

  1. #1
    Join Date
    Oct 2005
    Posts
    2

    How to list contents of index

    How do I view the index or tables which I request?

    This is what I am doing:

    select index_name from dba_indexes where table_name='XYZ';

    And the results are coming back empty.

    Could someone please give me a hint?

    Thank you

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Quote Originally Posted by Metablade
    Could someone please give me a hint?
    You either have no indexes on that table or that table doesn't exist.
    Jeff Hunter

  3. #3
    Join Date
    Oct 2005
    Posts
    2
    Yes, that would appear to be the case, however, Query on * was empty.

    Would this not show the "entirety" of my tables?

  4. #4
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    what query was empty?

  5. #5
    Join Date
    Aug 2002
    Location
    Atlanta
    Posts
    1,187
    Quote Originally Posted by Metablade
    How do I view the index or tables which I request?

    This is what I am doing:

    select index_name from dba_indexes where table_name='XYZ';

    And the results are coming back empty.

    Could someone please give me a hint?

    Thank you
    are you logged on as dba or joe user, perhaps select from user/all indexes
    I'm stmontgo and I approve of this message

Posting Permissions

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


Click Here to Expand Forum to Full Width