Quest for SQL Server
Saturday, April 30, 2011
SQL SERVER – Find Statistics Update Date – Update Statistics
SELECT name AS index_name,
STATS_DATE(OBJECT_ID, index_id) AS StatsUpdated
FROM sys.indexes
WHERE OBJECT_ID = OBJECT_ID('Sunlight')
GO
GO
UPDATE STATISTICS HumanResources.Department
WITH FULLSCAN
GO
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment