StatisticsIndex Property
Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.
The StatisticsIndex property directs Index object property evaluation when the object is used to create a Microsoft SQL Server index.
구문
object
.StatisticsIndex [= value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
TRUE or FALSE
Data Type
Boolean
Modifiable
Read/write before index creation. Read-only when referencing an existing index.
Prototype (C/C++)
HRESULT GetStatisticsIndex(LPBOOL pRetVal);
HRESULT SetStatisticsIndex(BOOL NewVal);
주의
SQL Server query optimization relies, in part, on data distribution statistics maintained on indexes. To aid query optimization, SQL Server can generate data distribution statistics for one or more columns in a table without imposing overhead associated with index maintenance. SQL Distributed Management Objects (SQL-DMO) implements data distribution statistics creation using the Index object and the StatisticsIndex property.