Posts tagged Microsoft

Rebuild or Reorganize Indexes?

0
The query below can be used to identify those indexes that should be rebuilt (using ALTER INDEX REBUILD WITH (ONLINE = ON), or those that should be reorganized (USING ALTER INDEX REORGANIZE): SELECT object_name(a.object_id) as TableName,     a.index_id,     a.Index_Type_Desc,     b.name AS [...]
Go to Top