NoRecompute Property

Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

The NoRecompute property controls statistics generation when the Index object is used to create a Microsoft SQL Server index.

Syntax

object
.NoRecompute [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write before index creation. Read-only if referencing an existing index.

Prototype (C/C++)

HRESULT GetNoRecompute(LPBOOL pRetVal);
HRESULT SetNoRecompute(BOOL NewValue);

Hinweise

If TRUE, SQL Server does not perform automatic data-distribution statistics update on the created index.

If FALSE (default), automatic data-distribution statistics update is performed.

Use the UpdateIndexStatistics, UpdateStatistics, or UpdateStatisticsWith method to force an update of index statistics for SQL Server indexes not configured for automatic update. Use the UpdateStatisticsWith method of the Table object to enable or disable automatic update of data-distribution statistics for an existing index.

Applies To:

Index Object

Siehe auch

Verweis

UpdateIndexStatistics Method
UpdateStatistics Method
UpdateStatisticsWith Method (Column, Index)
UpdateStatisticsWith Method (Table)

Hilfe und Informationen

Informationsquellen für SQL Server 2005