|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, May 02, 2013 8:23 PM
Points: 3,
Visits: 132
|
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, June 03, 2013 12:17 PM
Points: 202,
Visits: 1,044
|
|
its English version please? ..... just joking !! 
Nice Work
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Thursday, March 14, 2013 4:15 AM
Points: 3,240,
Visits: 4,960
|
|
Had to change to run in SQL Server 2005. Just changed the initialization of @Loop ,@Qt and Total.
Nice script. Just want to know Which Language?
---------------------------------------------------------------------------------------------------------------------------------------------------------------------- Sometimes, winning is not an issue but trying. You can check my BLOG here
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Thursday, March 14, 2013 4:15 AM
Points: 3,240,
Visits: 4,960
|
|
I have written this logic using sp_msforeachdb.
I need to ask Why have you used this condition
p.page_count >= 10
Is this to check if the Index is large enough to Rebuild or reorganize or any other reason?
---------------------------------------------------------------------------------------------------------------------------------------------------------------------- Sometimes, winning is not an issue but trying. You can check my BLOG here
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, May 23, 2012 6:40 AM
Points: 7,
Visits: 103
|
|
Nice article.
I have taken exactly the opposite approch 
I start out with finding all the indexes which are fragmented (30+) and then rebuild dynamic sql to actually rebuild or reorganize. These results into two sweet and short SPs + I log everyday what I find about this indexes.
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Today @ 10:48 AM
Points: 10,990,
Visits: 10,578
|
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, January 12, 2012 10:21 PM
Points: 526,
Visits: 588
|
|
After applying the alter index, out of 10 there are 8 alter statements are same - actually i ran this script twice to check there is no anything missed - so i want to know either alter with rebuild or reorganize both ran multiple times and your script suggest me to those alter statements agian and atain - I want to learn why those are not updated? where is the problem? are the indexes not properly implemented? Please help
Shamshad Ali
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, February 24, 2012 10:54 AM
Points: 5,
Visits: 15
|
|
| Hey guys, the language used is Portuguese (Brazilian Portuguese).
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Today @ 10:59 AM
Points: 280,
Visits: 1,029
|
|
HI SQL Kiwi Just want to know if the script through link runs for Index Defrag so we have to run Update statistics separately or whole script takes care of Update Statistics also? THanks
Aim to inspire rather than to teach. SQL Server DBA
|
|
|
|