Viewing post 1 (of 1 total)
I've found that using the DBCC DBREINDEX function works for that purpose.
Here is a script that will defrag all indexes in a database:
USE [0324_03_00_P]
GO
/****** Object: StoredProcedure [dbo].[util_defrag_all_indexes] ...
June 18, 2008 at 1:49 pm
#830735