Table.UpdateStatistics Method

 

Updates statistics for the table object.

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.(Inherited from TableViewBase.)

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.(Inherited from TableViewBase.)

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.(Inherited from TableViewBase.)

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.(Inherited from TableViewBase.)

Return to top
Show: