sql-pop-to-buffer-after-send-region
sql-pop-to-buffer-after-send-region is a variable defined in `
sql.el
'.
Its value is
nil
Documentation:
When non-nil, pop to the buffer SQL statements are sent to.
After a call to `sql-sent-string', `sql-send-region',
`sql-send-paragraph' or `sql-send-buffer', the window is split
and the SQLi buffer is shown. If this variable is not nil, that
buffer's window will be selected by calling `pop-to-buffer'. If
this variable is nil, that buffer is shown using
`display-buffer'.
You can customize this variable.