How to rebuild an index in certain columns of a table?

How to rebuild the index in the columns of a specific table with a query? in SQL Server 2008

+1
source share
3 answers

eg. ( read manual )

ALTER INDEX [index_name] ON [dbo].[MyTable] REBUILD WITH (FILLFACTOR = 80, STATISTICS_NORECOMPUTE = ON);
+2
source

One way is to reset the index and restore it.

0
source

, "". "" " ". , .

, :

http://www.foliotek.com/devblog/sql-server-optimization-with-index-rebuilding/

This will allow you to view multiple reports before and after index recovery.

0
source

Source: https://habr.com/ru/post/1589244/


All Articles