Difference between revisions of "Template:SQWareProduction sqwmys ExecSQL.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwmys_Global.lib | + | Sourcing sqwmys_Global.lib v2024.07 SQWareProduction for MySQL (dbSQWare) ... |
Usage: sqwmys_ExecSQL.ksh [-h] -I <instance> [+ options] | Usage: sqwmys_ExecSQL.ksh [-h] -I <instance> [+ options] | ||
Line 13: | Line 13: | ||
-F FileName : Filename to execute. | -F FileName : Filename to execute. | ||
OPTIONS | OPTIONS | ||
− | -h | + | -h : Display the full usage. |
-s : Display samples of usage. | -s : Display samples of usage. | ||
-Opt option : Additional options for sql connection. | -Opt option : Additional options for sql connection. | ||
− | -FRT | + | -FRT code : Force return code value on error. |
-NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | ||
− | -Locale | + | -Locale locale : Force Locale for help display (fr,en). |
− | -AddMail email | + | -AddMail email : Email address to add at 'pmexpdba@gmail.com'. |
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
-Dist : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ). | -Dist : For distant connection to database (change $gvsqw_ConnectString to $gvsqw_DistConnectString ). | ||
− | -Exec : Run commands (default, display generated commands). | + | -Exec : Run commands (by default, display generated commands). |
− | |||
</pre> | </pre> |
Latest revision as of 15:56, 31 October 2024
Sourcing sqwmys_Global.lib v2024.07 SQWareProduction for MySQL (dbSQWare) ... Usage: sqwmys_ExecSQL.ksh [-h] -I <instance> [+ options] DESCRIPTION sqwmys_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 : Display the full usage. -s : Display samples of usage. -Opt option : Additional options for sql connection. -FRT code : Force return code value on error. -NoMail : Deactivate 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 commands (by default, display generated commands).