Template:SQWareProduction sqwmsq ExecSQL.ksh help

From Wiki_dbSQWare
Revision as of 19:19, 9 April 2022 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search
Sourcing sqwmsq_Global.lib v2022.02 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 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).

     -LocalRsync        : Make rsync in an inline ssh connection.