Advertisement

09.10.2004 at 05:32AM PDT, ID: 21126055
[x]
Attachment Details

Index Details Of a Table in SQL Server

Asked by sujit_kumar in MS SQL Server

Tags: sql, server, table, details, index

If i want to see the Index deatils for a given table say 'ABC' how can i do it? I need

INDEX_NAME, COLUMN_NAME, TABLE_NAME, INDEX_TYPE columns for
       In oracle i am able to find it out from the query mentioned below,
   select B.INDEX_NAME, B.COLUMN_NAME, B.TABLE_NAME, A.INDEX_TYPE from USER_INDEXES A,

USER_IND_COLUMNS B
where B.TABLE_NAME = 'ABC' AND A.INDEX_NAME = B.INDEX_NAME
order by 3;


Please tell me how to do it in SQL Server? My mail ID is, kama_biet@rediffmail.com


Regards...
Sujit
Start Free Trial
[+][-]09.10.2004 at 05:39AM PDT, ID: 12025807

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL Server
Tags: sql, server, table, details, index
Sign Up Now!
Solution Provided By: AustinSeven
Participating Experts: 1
Solution Grade: B
 
 
[+][-]09.15.2004 at 07:31AM PDT, ID: 12065068

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32