clustered index in what information_schema?

  • In what information_schema I can find a clustered index?

  • They aren't in the information schema views. You'll need to query sysindexes, using 'Where IndID = 1' for clustered index.

  • Thank you.  Do you know if this is still valid in SQL 2005?

  • You can use sysindexes for the time being, but you probably want to query against the view sys.indexes. The column type_desc tells you what type of index it is. Clustered indexes can be found where type_desc = 'CLUSTERED' if that's what you are looking for.

    K. Brian Kelley
    @kbriankelley

  • Yes, thank you.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply