Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 20th, 2008, 02:27 AM
Authorized User
 
Join Date: May 2007
Location: Bangalore, KA, India.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Retrieve Index Status of a table

Hi All,

I want to know the status of an index whether it is corrupted or it needs to be reindexed etc ?

I used the sp_MShelpindex tablename stored procedure to retrieve the status also.

In the status column it is showing as 0,2 and 2000 values . what are these values ?

Thanks

Murali





With Regards,
Muralidharan.D
__________________
With Regards,
Muralidharan.D
Reply With Quote
  #2 (permalink)  
Old June 6th, 2008, 04:13 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Location: Wellington, FL , USA.
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Since this is an undocumented stored procedure, your chances of finding out what these values mean are probably slim to none.

Did you try sys.dm_db_index_physical_stats?


========================
Scott Klein
Author of:
Professional SQL Server 2005 XML
Professional WCF Programming: .NET Development with the Windows Communication Foundation
Professional LINQ
========================
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'AOIndex' is not an index in this table junedali10 Access 1 April 12th, 2008 05:25 PM
Table Index Problem JDrown Access VBA 1 March 17th, 2006 12:23 PM
more than one index on a table madhukp SQL Server ASP 3 September 11th, 2004 05:46 AM
Index On Table In VB6 p2pbal SQL Server ASP 1 September 3rd, 2004 05:19 PM



All times are GMT -4. The time now is 09:04 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.