Difference between revisions of "Template:SQWareProduction sqwter ExecSQL.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwter_Global.lib | + | Sourcing sqwter_Global.lib v2020.01 SQWareProduction for Teradata (dbSQWare) ... |
Usage: sqwter_ExecSQL.ksh [-h] -I <instance> [+ options] | Usage: sqwter_ExecSQL.ksh [-h] -I <instance> [+ options] | ||
Line 15: | Line 15: | ||
-h help : Display the full usage. | -h help : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. | ||
− | -Opt option : Additional | + | -Opt option : Additional options for sql connection. |
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
− | -NoMail : | + | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). |
-Locale locale : Force Locale for help display (fr,en). | -Locale locale : Force Locale for help display (fr,en). | ||
− | -AddMail email : 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 | + | -Exec : Run commands (default, display generated commands). |
</pre> | </pre> |
Revision as of 18:36, 8 March 2020
Sourcing sqwter_Global.lib v2020.01 SQWareProduction for Teradata (dbSQWare) ... Usage: sqwter_ExecSQL.ksh [-h] -I <instance> [+ options] DESCRIPTION sqwter_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 options for sql connection. -FRT return_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 (default, display generated commands).