SQL CODE BANK
Search
Wednesday, October 5, 2011
Fragmantation in Tables
SELECT object_name (object_id),* FROM sys.dm_db_index_physical_stats
(DB_ID(N'NIIP'), NULL, NULL, NULL , 'DETAILED')
dbcc showcontig
http://msdn.microsoft.com/en-us/library/ms175008.aspx
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment