Modèle:SQWareProduction sqwmsq RebuildIndexDatabase.ksh presentation : Différence entre versions

De WikiFr_dbSQWare
Aller à : navigation, rechercher
m (Updated by BatchUser)
 
m (Updated by BatchUser)
Ligne 1 : Ligne 1 :
<br>Generate reorganization commands for the database
+
<br>Generer la reorganisation des commandes de la database.
 
<br>version = 2000 -> Dbcc dbreindex (N'[$lvsqw_Owner].[$lvsqw_TableName]','',90)
 
<br>version = 2000 -> Dbcc dbreindex (N'[$lvsqw_Owner].[$lvsqw_TableName]','',90)
<br>version >= 2005 -> alter index all on [$lvsqw_Owner].[$lvsqw_TableName] Rebuild with (online = off)
+
<br>version >= 2005 -> alter index all on [$lvsqw_Owner].[$lvsqw_TableName] Rebuild avec (online = off)

Version du 20 juillet 2020 à 18:39


Generer la reorganisation des commandes de la database.
version = 2000 -> Dbcc dbreindex (N'[$lvsqw_Owner].[$lvsqw_TableName]',,90)
version >= 2005 -> alter index all on [$lvsqw_Owner].[$lvsqw_TableName] Rebuild avec (online = off)