|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
This package provides a
sql-mode and a
The goals were two simple modes providing syntactic highlighting. The
interactive mode had to provide a command-line history; the other mode had to
provide "send region/buffer to SQL interpreter" functions. "simple" in this
context means easy to use, easy to maintain and little or no bells and
sql-interactive-mode is used to interact with a SQL interpreter
process in a SQLi buffer (usually called `*SQL*'). The SQLi buffer
is created by calling a SQL interpreter-specific entry function. Do
sql-interactive-mode by itself.
The list of currently supported interpreters and the corresponding entry function used to create the SQLi buffers is shown with M-x sql-help.
sql-interactive-mode is built on top of the general
command-interpreter-in-a-buffer mode (comint mode), it shares a common base
functionality, and a common set of bindings, with all modes derived from
comint mode. This makes these modes easier to use.
sql-mode can be used to keep editing SQL statements. The SQL
statements can be sent to the SQL process in the SQLi buffer.
For documentation on the functionality provided by comint mode, and the hooks available for customizing it, see the file `comint.el'.
Hint for newbies: take a look at
To configure this package, type:
M-x customize-group RET SQL RET
|[ << ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|