sql-buffer
sql-buffer is a variable defined in `sql.el
'.
Its value is nilDocumentation: Current SQLi buffer. The global value of `sql-buffer' is the name of the latest SQLi buffer created. Any SQL buffer created will make a local copy of this value. See `sql-interactive-mode' for more on multiple sessions. If you want to change the SQLi buffer a SQL mode sends its SQL strings to, change the local value of `sql-buffer' using M-x sql-set-sqli-buffer.