TableViewBase.UpdateStatistics Method

 

Updates statistics for the table or view.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodUpdateStatistics()

Updates statistics for the table or view.

System_CAPS_pubmethodUpdateStatistics(StatisticsTarget, StatisticsScanType)

Updates the statistics for the table or view with the option to specify the target and the type of scan performed.

System_CAPS_pubmethodUpdateStatistics(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.

System_CAPS_pubmethodUpdateStatistics(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.

Return to top
Show: