SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)


By Rick Fonner,

This stored precedure can be used within a scheduled job to UPDATE STATISTICS on a data during off hours.

I have commented out a parameter used to limit the size of tables to UPDATE STATISTICS.  Script uses the Northwind database.

Have a GREAT day!!

Total article views: 434 | Views in the last 30 days: 2