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

ArgumentRequiredValuesDefault
<connection>YesThe ID of an active connectionNone

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.

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.