Share via


TableViewBase.UpdateStatistics Method

Updates statistics for the table or view.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name 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.

See Also

Reference

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

Other Resources

Working with Database Objects
Tables
Views (Database Engine)
CREATE TABLE (Transact-SQL)
CREATE VIEW (Transact-SQL)
UPDATE STATISTICS (Transact-SQL)