SQWareProduction:mssql:lib:sqwmsq Global.lib: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
m Updated by BatchUser |
||
| Line 4: | Line 4: | ||
Functions explanation: | Functions explanation: | ||
<pre> | <pre> | ||
gfsqw_ConvertBackslashToSlash => | gfsqw_ConvertBackslashToSlash => | ||
gfsqw_ConvertSlashToBackslash => | gfsqw_ConvertSlashToBackslash => | ||
gfsqw_ExecSql => | gfsqw_ExecSql => | ||
gfsqw_ExecSql $gvsqw_TmpFile.sql 2>&1|grep gvsqw_ProductEdition|cut -d= -f2|awk '{print $1}'| read gvsqw_ProductEdition | gfsqw_ExecSql $gvsqw_TmpFile.sql 2>&1|grep gvsqw_ProductEdition|cut -d= -f2|awk '{print $1}'| read gvsqw_ProductEdition | ||
| Line 27: | Line 18: | ||
gfsqw_GenericExecSql $lvsqw_GenExecSqlFile 2>&1 | gfsqw_GenericExecSql $lvsqw_GenExecSqlFile 2>&1 | ||
gfsqw_GenericExecSql $lvsqw_GenExecSqlFile 2>&1 | gfsqw_GenericExecSql $lvsqw_GenExecSqlFile 2>&1 | ||
gfsqw_GetVersion => | gfsqw_GetVersion => | ||
gfsqw_IsXpCmdShellEnabled => | gfsqw_IsXpCmdShellEnabled => | ||
gfsqw_ManageParfile => | gfsqw_ManageParfile => | ||
gfsqw_SourceProfile => | |||
gfsqw_TempFile "$echo $gvsqw_ProgName|sed 's,.ksh,,'|sed 's,sqwmsq_,,' => " | |||
</pre> | </pre> | ||
<br> | <br> | ||
{{SQWareProductionSurchargeLib|mssql|Mss|sqwmsq_Global.lib}} | {{SQWareProductionSurchargeLib|mssql|Mss|sqwmsq_Global.lib}} | ||
<br> | <br> | ||
Revision as of 17:33, 5 April 2014
shell functions library $gvsqw_MssBin/../lib/sqwmsq_Global.lib:
central lib of generic fonctions for mssql
Functions explanation:
gfsqw_ConvertBackslashToSlash =>
gfsqw_ConvertSlashToBackslash =>
gfsqw_ExecSql =>
gfsqw_ExecSql $gvsqw_TmpFile.sql 2>&1|grep gvsqw_ProductEdition|cut -d= -f2|awk '{print $1}'| read gvsqw_ProductEdition
gfsqw_ExecSql $gvsqw_TmpFile.sql 2>&1|grep lvsqw_HostName|cut -d= -f2|sed 's,\\,\\\\,'| read gvsqw_FullName
gfsqw_ExecSql "select @@version" 2>&1| tr -d "\015" >$gvsqw_TmpFile
gfsqw_ExecSql "sp_helpdb '$lvsqw_DbName'" >$gvsqw_TmpFile
gfsqw_ExecXpCmdShell =>
gfsqw_ExecXpCmdShell_msg =>
gfsqw_FormatHtmlMessages =>
gfsqw_GenDatabasesList =>
gfsqw_GenericExecSql =>
gfsqw_GenericExecSql $lvsqw_GenExecSqlFile 2>&1
gfsqw_GenericExecSql $lvsqw_GenExecSqlFile 2>&1
gfsqw_GetVersion =>
gfsqw_IsXpCmdShellEnabled =>
gfsqw_ManageParfile =>
gfsqw_SourceProfile =>
gfsqw_TempFile "$echo $gvsqw_ProgName|sed 's,.ksh,,'|sed 's,sqwmsq_,,' => "
