FROM sys.dm_db_index_physical_stats (DB_ID(N'iWOMTrackData'), OBJECT_ID(N'HumanResources.Employee'), NULL, NULL, NULL) AS a
JOIN sys.indexes AS b ON a.object_id = b.object_id AND a.index_id = b.index_id order by avg_fragmentation_in_percent desc;
GO
ALTER INDEX IX_Item_Title_BID_State_Item_ID ON SEC_Item REBUILD;
go
596



被折叠的 条评论
为什么被折叠?



