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

De WikiFr_dbSQWare
Aller à : navigation, rechercher
m (Updated by BatchUser)
m (Updated by BatchUser)
Ligne 1 : Ligne 1 :
 
<pre>
 
<pre>
Sourcing sqwmsq_Global.lib v2019.05 SQWareProduction for MsSql (dbSQWare) ...  
+
Sourcing sqwmsq_Global.lib v2020.01 SQWareProduction for MsSql (dbSQWare) ...  
  
 
#Standard (Locale) help for script sqwmsq_RebuildIndexDatabase.ksh:
 
#Standard (Locale) help for script sqwmsq_RebuildIndexDatabase.ksh:
Ligne 8 : Ligne 8 :
 
#Affichage de l'aide en ligne pour ce script
 
#Affichage de l'aide en ligne pour ce script
  
$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -S $Alias -D <DbName> -NoMail
+
$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -NoMail
 
#Desactive l'envoi de mail sur erreur a to $gvsqw_GlobalMail (by default, send on error)
 
#Desactive l'envoi de mail sur erreur a to $gvsqw_GlobalMail (by default, send on error)
  
$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -S $Alias -D <DbName> -Exec
+
$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -Exec
 
#Execute les commandes generees
 
#Execute les commandes generees
  
$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -S $Alias -D <DbName>
+
$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName>
 
#Genere les commandes mais ne les execute pas !
 
#Genere les commandes mais ne les execute pas !
  
$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -S $Alias -D <DbName> -FRT <NumericValue> -Exec
+
$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -FRT <NumericValue> -Exec
 
#Force le code retour a '<NumericValue>' sur erreur (si pas d'erreur, exit 0!)
 
#Force le code retour a '<NumericValue>' sur erreur (si pas d'erreur, exit 0!)
 
#Vous pouvez aussi forcer le code retour de ce script pour tous
 
#Vous pouvez aussi forcer le code retour de ce script pour tous
Ligne 24 : Ligne 24 :
  
 
#Options to generate table list with filters (you can mix all off them):
 
#Options to generate table list with filters (you can mix all off them):
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -S $Alias -D <DbName> -IT <listtbl>
+
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -IT <listtbl>
 
#Generate table list with 'in list':
 
#Generate table list with 'in list':
 
#=> and name in ('$ListInclude')
 
#=> and name in ('$ListInclude')
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -S $Alias -D <DbName> -ET <listtbl>
+
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -ET <listtbl>
 
#Generate table list with 'not in list':
 
#Generate table list with 'not in list':
 
#=> and name not in ('$ListExclude')
 
#=> and name not in ('$ListExclude')
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -S $Alias -D <DbName> -IL <likeclause>
+
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -IL <likeclause>
 
#Generate table list with 'like':
 
#Generate table list with 'like':
 
#=> and name like '$LikeClause'
 
#=> and name like '$LikeClause'
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -S $Alias -D <DbName> -EL <likeclause>
+
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -EL <likeclause>
 
#Generate table list with 'not like':
 
#Generate table list with 'not like':
 
#=> and name not like '$NotLikeClause'
 
#=> and name not like '$NotLikeClause'
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -S $Alias -D <DbName> -W <whereclause>
+
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -W <whereclause>
 
#Generate table list with 'where clause':
 
#Generate table list with 'where clause':
 
#=> and '$WhereClause'
 
#=> and '$WhereClause'
  
 
</pre>
 
</pre>

Version du 8 mars 2020 à 18:31

Sourcing sqwmsq_Global.lib v2020.01 SQWareProduction for MsSql (dbSQWare) ... 

#Standard (Locale) help for script sqwmsq_RebuildIndexDatabase.ksh:


$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -h
#Affichage de l'aide en ligne pour ce script

$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -NoMail
#Desactive l'envoi de mail sur erreur a to $gvsqw_GlobalMail (by default, send on error)

$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -Exec
#Execute les commandes generees

$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName>
#Genere les commandes mais ne les execute pas !

$gvsqw_MsqBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -FRT <NumericValue> -Exec
#Force le code retour a '<NumericValue>' sur erreur (si pas d'erreur, exit 0!)
#Vous pouvez aussi forcer le code retour de ce script pour tous
#si vous settez la variable d'environnement: $gvsqw_ForcedReturnCodeScript_sqwmsq_RebuildIndexDatabase=<NumericValue>
#dans le fichier de configuration $gvsqw_MsqBin/../etc_cust/sqwmsq_GlobalVar.cfg

#Options to generate table list with filters (you can mix all off them):
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -IT <listtbl>
#Generate table list with 'in list':
#=> and name in ('$ListInclude')
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -ET <listtbl>
#Generate table list with 'not in list':
#=> and name not in ('$ListExclude')
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -IL <likeclause>
#Generate table list with 'like':
#=> and name like '$LikeClause'
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -EL <likeclause>
#Generate table list with 'not like':
#=> and name not like '$NotLikeClause'
$gvsqw_SybBin/sqwmsq_RebuildIndexDatabase.ksh -I $Alias -D <DbName> -W <whereclause>
#Generate table list with 'where clause':
#=> and '$WhereClause'