Difference between revisions of "Template:SQWareProduction sqwmng ExecSQL.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwmng_Global.lib v2024. | + | Sourcing sqwmng_Global.lib v2024.07 SQWareProduction for MongoDB (dbSQWare) ... |
Usage: sqwmng_ExecSQL.ksh [-h] -I <instance> [+ options] | Usage: sqwmng_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:55, 31 October 2024
Sourcing sqwmng_Global.lib v2024.07 SQWareProduction for MongoDB (dbSQWare) ... Usage: sqwmng_ExecSQL.ksh [-h] -I <instance> [+ options] DESCRIPTION sqwmng_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).