troubleshooting Question

How to view index content?

Avatar of Mike Eghtebas
Mike EghtebasFlag for United States of America asked on
Microsoft SQL Server 2008
6 Comments1 Solution598 ViewsLast Modified:
I have created PK_Student_StudId (clustered).

I suppose I could view the content of index table (index data) using

Select StudID, StudName, Class From Student Order By StudID;


But, is there a way I can access and view the actual table my PK_Student_StudId index has created?

Or, is it in binary form and cannot be viewed directly? If so, how can be transformed and viewed?

At least its number of rows and its column names to be printed/ investigated.

Thank you.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros