Column.UpdateStatistics 方法

定義

多載

名稱 Description
UpdateStatistics(StatisticsScanType, Int32)

強制更新資料分配統計資料,針對參考索引或 SQL Server 資料表上定義的所有索引進行更新。

UpdateStatistics(StatisticsScanType)

強制更新資料分配統計資料,針對參考索引或 SQL Server 資料表上定義的所有索引進行更新。

UpdateStatistics(StatisticsScanType, Int32, Boolean)

強制更新資料分配統計資料,針對參考索引或 SQL Server 資料表上定義的所有索引進行更新。

UpdateStatistics()

強制更新資料分配統計資料,針對參考索引或 SQL Server 資料表上定義的所有索引進行更新。

UpdateStatistics(StatisticsScanType, Int32)

強制更新資料分配統計資料,針對參考索引或 SQL Server 資料表上定義的所有索引進行更新。

public void UpdateStatistics(Microsoft.SqlServer.Management.Smo.StatisticsScanType scanType, int sampleValue);
member this.UpdateStatistics : Microsoft.SqlServer.Management.Smo.StatisticsScanType * int -> unit
Public Sub UpdateStatistics (scanType As StatisticsScanType, sampleValue As Integer)

參數

sampleValue
Int32

適用於

UpdateStatistics(StatisticsScanType)

強制更新資料分配統計資料,針對參考索引或 SQL Server 資料表上定義的所有索引進行更新。

public void UpdateStatistics(Microsoft.SqlServer.Management.Smo.StatisticsScanType scanType);
member this.UpdateStatistics : Microsoft.SqlServer.Management.Smo.StatisticsScanType -> unit
Public Sub UpdateStatistics (scanType As StatisticsScanType)

參數

適用於

UpdateStatistics(StatisticsScanType, Int32, Boolean)

強制更新資料分配統計資料,針對參考索引或 SQL Server 資料表上定義的所有索引進行更新。

public void UpdateStatistics(Microsoft.SqlServer.Management.Smo.StatisticsScanType scanType, int sampleValue, bool recompute);
member this.UpdateStatistics : Microsoft.SqlServer.Management.Smo.StatisticsScanType * int * bool -> unit
Public Sub UpdateStatistics (scanType As StatisticsScanType, sampleValue As Integer, recompute As Boolean)

參數

sampleValue
Int32
recompute
Boolean

適用於

UpdateStatistics()

強制更新資料分配統計資料,針對參考索引或 SQL Server 資料表上定義的所有索引進行更新。

public void UpdateStatistics();
member this.UpdateStatistics : unit -> unit
Public Sub UpdateStatistics ()

適用於