all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* sql-mode for emacs
@ 2006-03-08 16:05 jamesd
  0 siblings, 0 replies; only message in thread
From: jamesd @ 2006-03-08 16:05 UTC (permalink / raw)


I am using xemacs to run my sql server and oracle queries using
sql-mode. It is working great!

I have a few short questions for you.

Have you figured out a way to get emacs to automatically append "
go" to the end of every query (so you don't have to type it every
time). This would be awesome. There are so many times that I just want
to select some text (a region)  and execute it, but it won't work
with sql server because of the missing " go".  Of course with
oracle this is not a problem, only with sql server.

Also, when I execute a sql statement it shows the results correctly on
the bottom buffer. But I would like to have the bottom buffer (query
results) to clear every time I execute a statement - currently it
appends the results to the previous result set like this:


(1 row affected)

 -----------
        1787

(1 row affected)
 reviewid
 -----------
        1723
        1724
        1725
        1759
        1760
        1761
        1762
        1763
        1764
        1765

In other words, I would like emacs to perform more like "Query
Analyzer" that comes bundeled with Sql Server client tools.

I would appreciate anyones thoughts on how either of these questions
could be answered.  Thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-08 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-08 16:05 sql-mode for emacs jamesd

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.