On this page
SHOW LOGIN SCRIPT
Core command
SH LOG SC
SHLOGSC
Shows the login script of a connection: the SQL statements run each time it opens.
Syntax
SHOW LOGIN SCRIPT <connection>
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<connection> | Yes | The ID of an active connection | None |
Examples
SHOW LOGIN SCRIPT MYDB01;
Details
The login script is the list of SQL statements run automatically each time the connection opens. The command shows every line, active and inactive alike, in the order they run, numbered from 1, with its Active flag, SQL command and comment. That number is the <line> of EDIT, DEL and MOVE LOGIN SCRIPT LINE. It is the command line equivalent of the "Login Scripts" tab of the CONFIG window.
The connection must be active; an inactive one is reported as such.
Related
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.