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

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by Expdbtools)
 
m (Updated by BatchUser)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Librairie de fonctions shell $gvsqw_MssBin/../lib/sqwmsq_SetEnv.lib:<br>
+
shell functions library $gvsqw_MsqBin/../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_GetPass =>  
gfsqw_ExecSql "select @@version" 2>&1| tr -d "\015" >$gvsqw_TmpFile
+
gfsqw_GetVersion
gfsqw_GetPass
+
gfsqw_SourceProfile =>
 +
</pre>
 
<br>
 
<br>
{{SQWareProductionSurchargeLib|mssql|Mss|sqwmsq_SetEnv.lib}}
+
{{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_SetEnv.lib}}
 
<br>
 
<br>

Latest revision as of 09:50, 20 July 2014

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

gfsqw_GetPass => 
gfsqw_GetVersion
gfsqw_SourceProfile => 


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

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