다음을 통해 공유


UpdateStatistics Method

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The UpdateStatistics method forces data distribution statistics update for a referenced Microsoft SQL Server index or all indexes defined on a SQL Server table.

구문

object
.UpdateStatistics(
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT UpdateStatistics( );

주의

Index-based, data distribution statistics support SQL Server query optimization. Data distribution statistics are calculated for an index when the index is first used in query optimization or at user direction. Statistics are updated automatically at configurable intervals and at user direction.