Quantcast
Channel: Microsoft Dynamics NAV
Viewing all articles
Browse latest Browse all 64865

Forum Post: RE: Rebuild indexes

$
0
0

yes, all indexes.

look at this link:  

"technet.microsoft.com/.../ms181671.aspx"

A. Rebuilding an index

The following example rebuilds the Employee_EmployeeID clustered index with a fill factor of 80 on the Employee table in the AdventureWorks database.

USE AdventureWorks2012;

GO

DBCC DBREINDEX ("HumanResources.Employee", PK_Employee_BusinessEntityID,80);

GO

B. Rebuilding all indexes

The following example rebuilds all indexes on the Employee table in AdventureWorks by using a fill factor value of 70.

USE AdventureWorks2012;

GO

DBCC DBREINDEX ("HumanResources.Employee", " ", 70);

GO

...........

List of all index & index columns in SQL Server DB

stackoverflow.com/.../list-of-all-index-index-columns-in-sql-server-db

Get Information of Index of Tables and Indexed Columns

blog.sqlauthority.com/.../sql-server-get-information-of-index-of-tables-and-indexed-columns

USE AdventureWorks;

GO

EXEC sp_helpindex 'Person.Address'

GO


Viewing all articles
Browse latest Browse all 64865

Trending Articles