December 20, 2005 at 2:20 pm
In what information_schema I can find a clustered index?
December 20, 2005 at 2:52 pm
They aren't in the information schema views. You'll need to query sysindexes, using 'Where IndID = 1' for clustered index.
December 20, 2005 at 2:56 pm
Thank you. Do you know if this is still valid in SQL 2005?
December 20, 2005 at 3:22 pm
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
December 21, 2005 at 7:52 am
Yes, thank you.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy