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
表
视图(数据库引擎)
CREATE TABLE (Transact-SQL)
CREATE VIEW (Transact-SQL)
UPDATE STATISTICS (Transact-SQL)