Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to do rebuilding of indexes in a DB in a scheduled manner in Sql server 2005?
Any Inbuilt option there or whether an SP needed for the same. I want to do the same every week.
We are using asp.net with c#.
Posted

1 solution

You need to create a procedure to do the rebuilding and a Job to execute the procedure as one of it's steps. There are a number of other maintenance operations you may want to include in the procedure.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900