On this page
EDIT LOGIN SCRIPT LINE
Core command
EDIT LOG SC LI
EDLOGSCLI
Changes a line of a connection's login script, through an interactive wizard.
Syntax
EDIT LOGIN SCRIPT LINE <connection> <line>
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<connection> | Yes | The ID of an active connection | None |
<line> | Yes | The line number shown by SHOW LOGIN SCRIPT, from 1 | None |
Examples
EDIT LOGIN SCRIPT LINE MYDB01 2;
Details
The wizard shows the line's SQL Command and Comment and asks whether to keep each one, then asks Active [y/n]: y or yes makes the line active, any other answer inactive. It ends with Save login script line [y/n/c]?: y saves, n starts again, and any other answer stops without saving.
The line keeps its position in the script; MOVE LOGIN SCRIPT LINE changes the order. A line number past the end of the script is refused.
Related
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.