Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Help! Stored Proc: Executing Defrag with Indexes Based on Page Locking

$
0
0
Hi all,

I am trying to write an EXECUTE statement that runs the following criteria:
Call SP once and EXCLUDE indexes that have PAGE_LOCKING=OFF
 REORG >=5%
 REBUILD >=30
Call SP again, REBUILD for above

IM

Viewing all articles
Browse latest Browse all 3145

Trending Articles