SQL Server 2008 R2
Updates the statistics for the supplied table and index or indexes.
Updates the statistics for the supplied table and index or indexes.
Specifies the name of the table on which to update the statistics.
The index on which to update the statistics. If an index is not specified, all distribution statistics in the specified table or indexed view are updated. This includes statistics that are created by using the CREATE STATISTICS statement, statistics that are created automatically, and statistics that are created during index creation.
Specifies that all rows in the table should be read to gather the statistics.
Specifies that automatic recomputation of the statistics should be disabled. If this option is specified, the Database Engine continues to use old statistics even as the data changes. The statistics are not automatically updated and maintained by the database engine, which might produce suboptimal plans.
It is recommended that this option be used rarely and only by a trained system administrator. |
