On this page
ADD LOGIN SCRIPT LINE
Core command
ADD LOG SC LI
ADDLOGSCLI
Adds a SQL statement at the end of a connection's login script.
Syntax
ADD LOGIN SCRIPT LINE <connection>
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<connection> | Yes | The ID of an active connection | None |
Examples
ADD LOGIN SCRIPT LINE MYDB01;
Details
A login script is the list of SQL statements run each time a connection opens. This command is the command line equivalent of adding a line in the "Login Scripts" tab of the CONFIG window.
The wizard asks for the SQL Command (mandatory), a Comment (optional) and Active [y/n] (y or yes makes the line active, any other answer inactive), then Save login script line [y/n/c]?: y adds the line at the end of the script, n starts again, and any other answer stops without saving.
Related
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.