How to list contents of index
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,095
    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
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  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,331
    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