sql-redirect
sql-redirect is a compiled Lisp function in `sql.el
'.
(sql-redirect SQLBUF COMMAND &optional OUTBUF SAVE-PRIOR)
Execute the SQL command and send output to OUTBUF.
SQLBUF must be an active SQL interactive buffer. OUTBUF may be
an existing buffer, or the name of a non-existing buffer. If
omitted the output is sent to a temporary buffer which will be
killed after the command completes. COMMAND should be a string
of commands accepted by the SQLi program. COMMAND may also be a
list of SQLi command strings.