 
    
 
-End -- Upgrade.FailoverForUpgrade
+End -- Mirroring.Failover
 
 go
 


          Then '

                ALTER INDEX [<idx>] ON [<DbName>].[<scn>].[<tb>] 

                Rebuild with (fillfactor = 90)

                '



    , PS.alloc_unit_type_desc 

    , (

      select top 1 SC.name from sys.columns SC 
