EDIT LOGIN SCRIPT LINE

Core command EDIT LOG SC LI EDLOGSCLI

Edits an existing line of a connection's login script

Arguments

<connectionId> <lineNo> (both mandatory) an existing, active connection ID, and the 1-based line number shown by SHOW LOGIN SCRIPT

Examples

EDIT LOGIN SCRIPT LINE MYDB01 2;

Notes

Edits an existing line of a connection's login script: `EDIT LOGIN SCRIPT LINE <connectionId> <lineNo>`.

connectionId is mandatory and must name an active connection; lineNo is the 1-based line number shown by SHOW LOGIN SCRIPT and must be within range. Runs an interactive wizard pre-filled with that line's SQL Command, Comment and Active flag, followed by a [y/n/c] confirmation: y saves, n restarts the wizard from the top, anything else aborts without saving. The line's position in the script is unchanged - use `MOVE LOGIN SCRIPT LINE` to reorder.

Last modified in release 5.1.6.