Modèle:SQWareProduction sqwmsq RebuildIndexDatabase.ksh presentation
Révision datée du 14 avril 2019 à 18:05 par BatchUser (discussion | contributions) (Updated by BatchUser)
Generate reorganization commands for the database
version = 2000 -> Dbcc dbreindex (N'[$lvsqw_Owner].[$lvsqw_TableName]',,90)
version >= 2005 -> alter index all on [$lvsqw_Owner].[$lvsqw_TableName] Rebuild with (online = off)