Template:SQWareProduction sqwmys ExecSQL.ksh help: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
m Updated by BatchUser |
||
| Line 17: | Line 17: | ||
-Opt option : Additional options for sql connection. | -Opt option : Additional options for sql connection. | ||
-FRT code : Force return code value on error. | -FRT code : Force return code value on error. | ||
-NoMail : Deactivate sendmail on error | -NoMail : Deactivate sendmail on error demo-sqwarebox@dbsqware.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 address to add at ' | -AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.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 ). | ||
Revision as of 11:08, 4 April 2025
Sourcing sqwmys_Global.lib v2025.03 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 demo-sqwarebox@dbsqware.com (by default, send on error).
-Locale locale : Force Locale for help display (fr,en).
-AddMail email : Email address to add at 'demo-sqwarebox@dbsqware.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).