Wednesday 5 November 2014

Rebuild indexes

And another small post for the archive. If you'd like to rebuild an index (due to fragmentation or growth), you can use the following statement: 


USE [namedatabase]


ALTER INDEX ALL ON [dbo].[nametable] REBUILD;

No comments:

Post a Comment