Validated against: SQL Server 2005.
Updating statistics against each table in the current database by using the undocumented stored procedure [sp_MSforeachtable].
exec sp_MSforeachtable 'UPDATE STATISTICS ? WITH FULLSCAN'
Validated against: SQL Server 2005.
Updating statistics against each table in the current database by using the undocumented stored procedure [sp_MSforeachtable].
exec sp_MSforeachtable 'UPDATE STATISTICS ? WITH FULLSCAN'