Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: sp_MSforeachtable

Started 1 month, 2 weeks ago by Bob McClellan
Is sp_MSforeachtable the best approach to maintain the rebuilding of all indexes for all tables in a database? thanks in advance, ..bob
Site: SQL Server Forum  SQL Server Forum - site profile
Forum: SQL  SQL - forum profile
Total authors: 5 authors
Total thread posts: 6 posts
Thread activity: no new posts during last week
Domain info for: sqlmonster.com

Other posts in this thread:

Balaji replied 1 month, 2 weeks ago
Hi Bob, sp_MSforeachtable stored procedure is a undocumented stored procedure. It is always best to avoid any undocumented procedure in a production environement. Regards, Balaji > Is sp_MSforeachtable the best approach to maintain the rebuilding of all > indexes > for all tables in a database? > thanks in advance, > ..bob

Uri Dimant replied 1 month, 2 weeks ago
No Bob , definetely No. Because you need rebuild/reorganize only fragmented indexes and in most cases I have seen you will need to update statistics to speed up the query Read the link http://ola.hallengren.com/ > Is sp_MSforeachtable the best approach to maintain the rebuilding of all > indexes > for all tables in a database? > thanks in advance, > ..bob

Bob McClellan replied 1 month, 2 weeks ago
Thanks to both of you. I really appreciate the reply and advice against moving forward with this. ..bob > Is sp_MSforeachtable the best approach to maintain the rebuilding of all > indexes > for all tables in a database? > thanks in advance, > ..bob

Bob replied 1 month, 2 weeks ago
A Maintenance plan is probably your best option. > Thanks to both of you. I really appreciate the reply > and advice against moving forward with this. [quoted text clipped - 5 lines] > > thanks in advance, > > ..bob

Bob Barrows replied 1 month, 2 weeks ago
Why? Not that I disagree, but readers would likely appreciate having more to base the decision as to whether to accept your advice than the fact that they like your name. :-) > A Maintenance plan is probably your best option. > [quoted text clipped - 7 lines] >>> thanks in advance, >>> ..bob

 

Top contributing authors

Name
Posts
Bob McClellan
2
user's latest post:
sp_MSforeachtable
Published (2009-11-11 18:04:00)
Thanks to both of you.  I really appreciate the reply and advice against moving forward with this. ..bob > Is sp_MSforeachtable the best approach to maintain the rebuilding of all > indexes > for all tables in a database? > thanks in advance, > ..bob
Balaji
1
user's latest post:
sp_MSforeachtable
Published (2009-11-11 05:00:00)
Hi Bob, sp_MSforeachtable stored procedure is a undocumented stored procedure. It is always best to avoid any undocumented procedure in a production environement. Regards, Balaji > Is sp_MSforeachtable the best approach to maintain the rebuilding of all > indexes > for all tables in a database? > thanks in advance, > ..bob
Uri Dimant
1
user's latest post:
sp_MSforeachtable
Published (2009-11-11 08:30:00)
No Bob , definetely No. Because  you need rebuild/reorganize only fragmented indexes and in most cases I have seen  you will need to update statistics to speed up the query Read the link http://ola.hallengren.com/ > Is sp_MSforeachtable the best approach to maintain the rebuilding of all > indexes > for all tables in a database? > thanks in advance, > ..bob
Bob
1
user's latest post:
sp_MSforeachtable
Published (2009-11-12 10:59:00)
A Maintenance plan is probably your best option. > Thanks to both of you.  I really appreciate the reply > and advice against moving forward with this. [quoted text clipped - 5 lines] > > thanks in advance, > > ..bob
Bob Barrows
1
user's latest post:
sp_MSforeachtable
Published (2009-11-12 15:32:00)
Why? Not that I disagree, but  readers would likely appreciate having more to base the decision as to whether to accept your advice than the fact that they like your name. :-) > A Maintenance plan is probably your best option. > [quoted text clipped - 7 lines] >>> thanks in advance, >>> ..bob

Related threads on "SQL Server Forum":

Related threads on other sites:

Thread profile page for "sp_MSforeachtable" on http://www.sqlmonster.com. This report page is a snippet summary view from a single thread "sp_MSforeachtable", located on the Message Board at http://www.sqlmonster.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity