sql-linter

sql-linter is an interactive autoloaded compiled Lisp function in `sql.el'.


(sql-linter &optional BUFFER)

Run inl by RELEX as an inferior process.

If buffer `*SQL*' exists but no process is running, make a new process.
If buffer exists and a process is running, just switch to buffer
`*SQL*'.

Interpreter used comes from variable `sql-linter-program' - usually `inl'.
Login uses the variables `sql-user', `sql-password', `sql-database' and
`sql-server' as defaults, if set. Additional command line parameters
can be stored in the list `sql-linter-options'. Run inl -h to get help on
parameters.

`sql-database' is used to set the LINTER_MBX environment variable for
local connections, `sql-server' refers to the server name from the
`nodetab' file for the network connection (dbc_tcp or friends must run
for this to work). If `sql-password' is an empty string, inl will use
an empty password.

The buffer is put in SQL interactive mode, giving commands for sending
input. See `sql-interactive-mode'.

To set the buffer name directly, use C-u
before M-x sql-linter. Once session has started,
M-x sql-rename-buffer can be called separately to rename the
buffer.

(Type C-h m in the SQL buffer for a list of commands.)