I would like to re-index SQL database. I am completely new to it.
I am using Microsoft SQL Server 10.50.2500.
Can some one suggest the best way to do this. Do we have any free tools for the same.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This depends on the DBMS itself. Possibly the most portable solution is to simply drop the index and then re-create it (making sure that nobody inserts a record in the table that violates the index between the two operations of course).
However, the first question I’d be asking myself is why you think this is necessary. It seems unlikely that any change outside the DB would require re-indexing of current indexes, although it may be that your requirement is to add new (or delete old) indexes.