ADD LOGIN SCRIPT LINE

Core command ADD LOG SC LI ADDLOGSCLI

Appends a new line to an existing connection's login script

Arguments

<connectionId> (mandatory) an existing, active connection ID

Examples

ADD LOGIN SCRIPT LINE MYDB01;

Notes

Appends a new line to a connection's login script: ADD LOGIN SCRIPT LINE <connectionId>. The CLI equivalent of the config screen's "Login Scripts" tab, "add a line" action.

connectionId is mandatory and must name an active connection. Runs an interactive wizard prompting for the SQL Command (mandatory), a Comment (optional) and Active [y/n], followed by a [y/n/c] confirmation: y appends the line at the end of the script and saves, n restarts the wizard from the top, anything else aborts without saving.

Last modified in release 5.1.6.