Share via


TableViewBase.UpdateStatistics Method

Include Protected Members
Include Inherited Members

Updates statistics for the table or view.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method UpdateStatistics() Updates statistics for the table or view.
Public method UpdateStatistics(StatisticsTarget, StatisticsScanType) Updates the statistics for the table or view with the option to specify the target and the type of scan performed.
Public method 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.
Public method 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.

Top

See Also

Reference

TableViewBase Class

Microsoft.SqlServer.Management.Smo Namespace