Identify tables that need Stats Updates
February 10, 2004
>>Script Language and Platform: SQL Server
The following script (stored procedure) is useful in getting the information on which tables were updated and how many rows were updated since the last stats update. The script also generates a script to run on the databases to update statistics for the tables which have out-of-date statistics.
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
"as -is", without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose...
Back to Database Journal Home