Template:SQWareProduction sqwmsq ExecSQL.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
m Updated by BatchUser |
||
| Line 1: | Line 1: | ||
<pre> | <pre> | ||
Sourcing sqwmsq_Global.lib v2019. | Sourcing sqwmsq_Global.lib v2019.03 SQWareProduction for MsSql (dbSQWare) ... | ||
Usage: sqwmsq_ExecSQL.ksh [-h] -I <instance> [+ options] | Usage: sqwmsq_ExecSQL.ksh [-h] -I <instance> [+ options] | ||
| Line 18: | Line 18: | ||
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
-NoMail : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | -NoMail : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | ||
-Locale locale : Force Locale for help display (fr,en). | |||
-AddMail email : Email Address to add at 'pmexpdba@gmail.com'. | -AddMail email : Email Address to add at 'pmexpdba@gmail.com'. | ||
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
Revision as of 14:32, 14 April 2019
Sourcing sqwmsq_Global.lib v2019.03 SQWareProduction for MsSql (dbSQWare) ...
Usage: sqwmsq_ExecSQL.ksh [-h] -I <instance> [+ options]
DESCRIPTION
sqwmsq_ExecSQL.ksh execute SQL file on instance
SUPPORT
All rdbms type and version
PARAMETERS
-I instance : Target instance.
-F FileName : Filename to execute.
OPTIONS
-h help : Display the full usage.
-s : Display samples of usage.
-Opt option : Additional option for sql connection.
-FRT return_code : Force return code value on error.
-NoMail : Desactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
-Locale locale : Force Locale for help display (fr,en).
-AddMail email : Email Address to add at 'pmexpdba@gmail.com'.
-SendReport : Send execution log report.
-Dist : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ).
-Exec : Run rsync (default, display generated commands).