TableViewBase.UpdateStatistics Method

Updates statistics for the table or view.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
TableViewBase.UpdateStatistics ()
Updates statistics for the table or view.
TableViewBase.UpdateStatistics (StatisticsTarget, StatisticsScanType)
Updates the statistics for the table or view with the option to specify the target and the type of scan performed.
TableViewBase.UpdateStatistics (StatisticsTarget, StatisticsScanType, Int32)
Updates the statistics for the table or view with the option to specify the target, the type of scan performed, and the sample size.
TableViewBase.UpdateStatistics (StatisticsTarget, StatisticsScanType, Int32, Boolean)
Updates the statistics for the table or view with the option to specify the target, the type of scan performed, the sample size, and whether to recompute the statistics.

請參閱

參考

TableViewBase Class
TableViewBase Members
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Working with Database Objects
資料表
檢視 (Database Engine)
CREATE TABLE (Transact-SQL)
CREATE VIEW (Transact-SQL)
UPDATE STATISTICS (Transact-SQL)