troubleshooting Question

SQL Server: Re-build or Re-Organize Indexes

Avatar of MohitPandit
MohitPanditFlag for India asked on
MySQL ServerMicrosoft SQL Server 2005Microsoft SQL Server 2008
9 Comments1 Solution530 ViewsLast Modified:
Hello,

I've live production database and I've updated many ALTER table script and UPDATE queries as well.

Now, I want to re-build or re-organize the indexes.

Can anyone provide the script for re-build and re-organize indexes on tables?
Otherwise I need to go each table to re-build the indexes. I need a script which will make judgement either indexes should be re-build or re-ogranize automatically.

Can any one touch into it?

Regards,
MohitPandit
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros