Discussing how Microsoft Dynamics Improves an Organization's Operations.

Microsoft Dynamics

Subscribe to Microsoft Dynamics : eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get Microsoft Dynamics : homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Microsoft Dynamics Authors: Yeshim Deniz, Tim Park, Karen Miranda, Derek Harris, Dana Gardner

Related Topics: Microsoft Dynamics , Microsoft Developer

Blog Feed Post

Recovering Corrupt Index in SQL Server 2008

MS SQL Server uses indexes to quickly find the records when a query is executed

MS SQL Server uses indexes to quickly find the records when a query is executed. Actually the SQL Server uses the index in a similar way as you would read a book. If you want to search a particular topic, you do not have to traverse each and every page. You would just look for it in the index and open the page/section directly. Following the same pattern, an index has got keys that are built from one or more columns in the table and pointers that refer to the storage location of the queried data. Well-defined indexes can improve the system performance remarkably as the amount of data that is read to fetch the query result. However, at times the index can get disabled because of various reasons such as power surges, virus infections, human errors, etc. In such cases, you should consider taking appropriate actions to resolve the issue. However, if you are not able to address the issue then you should use a third-party SQL Database Recovery tool to repair SQL database.

Consider a scenario wherein you are working on SQL Server 2008 system when you encounter the following error message:
“The index "%.*ls" on table "%.*ls" is disabled.”

Cause:
This error message is displayed when the index is disabled. The DBCC command cannot proceed when the index is disabled. There could be following reasons for this:
You have disabled the index manually by using ALTER INDEX.
The index is disabled as the database is corrupt.

Resolution:
To resolve this error message, you need to either rebuild it or drop it and recreate it. To do this, you can perform the following methods:
1.First of all, enable the index by using either of the following methods:
ALTER INDEX statement with the REBUILD clause
CREATE INDEX with the DROP_EXISTING clause
DBCC DBREINDEX
2.Rerun the DBCC command.

However, if you still are not able to address the issue, it means that the database is corrupt. In such a case, you should consider using a third-party SQL repair application to SQL Recovery. Such read-only tools repair SQL databases without overwriting the original data.

SQL Recovery software is a robust tool that enables you to repair and restore database components such as tables, defaults, stored procedures, triggers, views, and rules. It is able to perform mdf repair for the databases created in SQL Server 2000, 2005, and 2008. It can also recover index, database constraints, user-defined functions, and user-defined data types. It is compatible with Windows 7, Vista, Server 2003, XP, and 2000.

Read the original blog entry...

More Stories By Gram Smith

Gram Smith is an Internet entrepreneur and Database Repair Expert. Gram generally write articles on how to recover and repair precious data related to Access Repair Database, MS SQL Recovery Database, and MySql Repair.