Difference between revisions of "SQWareProduction:mssql:lib:sqwmsq SetEnv.lib"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by Expdbtools)
 
m (Updated by Expdbtools)
Line 1: Line 1:
Librairie de fonctions shell $gvsqw_MssBin/../lib/sqwmsq_SetEnv.lib:<br>
+
shell functions librairy $gvsqw_MssBin/../lib/sqwmsq_SetEnv.lib:<br>
fonction to set env for Mssql
+
{{SQWareProduction_sqwmsq_SetEnv.lib_presentation}}
 
<br>
 
<br>
gfsqw_EndMailError 12 "failed to retrieve password of $1"
+
Functions explanation:
gfsqw_EndMailError 99 "Error, failed to connect to $lvsqw_InstanceParam !!!\n$cat $gvsqw_TmpFile"
+
<pre>
gfsqw_ExecSql $gvsqw_TmpFile.sql 2>&1|grep lvsqw_HostName|cut -d= -f2|sed 's,\\,\\\\,'| read gvsqw_FullName
+
gfsqw_EndMailError 12 "Fail to retrieve password of $1"
gfsqw_ExecSql "select @@version" 2>&1| tr -d "\015" >$gvsqw_TmpFile
+
gfsqw_GetPass =>
gfsqw_GetPass
+
gfsqw_GetVersion
 +
</pre>
 
<br>
 
<br>
 
{{SQWareProductionSurchargeLib|mssql|Mss|sqwmsq_SetEnv.lib}}
 
{{SQWareProductionSurchargeLib|mssql|Mss|sqwmsq_SetEnv.lib}}
 
<br>
 
<br>

Revision as of 23:26, 15 December 2010

shell functions librairy $gvsqw_MssBin/../lib/sqwmsq_SetEnv.lib:
fonction to set env for Mssql
Functions explanation:

	gfsqw_EndMailError 12 "Fail to retrieve password of $1"
gfsqw_GetPass => 
gfsqw_GetVersion


Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MssBin/../lib/sqwmsq_SetEnv.lib

by function with same name in $gvsqw_MssBin/../lib_cust/sqwmsq_SetEnv.lib for all your environnement
or by $HOME/sqwConfig/sqwmsq_SetEnv.lib specifically for this user .