Home » Reply » Reply To: How to rebuild indexes in SQL Server Database

Reply To: How to rebuild indexes in SQL Server Database

Stephen West ~ Modified: October 26th, 2015 ~ ~ 1 Minute Reading

Home Forums How to rebuild indexes in SQL Server Database Reply To: How to rebuild indexes in SQL Server Database

#862 Score: 0
Stephen West
Moderator
4 pts

Execute the below query

USE AdventureWorks2012;
GO
ALTER INDEX PK_Employee_BusinessEntityID ON HumanResources.Employee
REBUILD;
GO