From: "jamesd" <jamesd@ring4freedom.com>
Subject: sql-mode for emacs
Date: 8 Mar 2006 08:05:09 -0800 [thread overview]
Message-ID: <1141833909.570298.302480@z34g2000cwc.googlegroups.com> (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!
reply other threads:[~2006-03-08 16:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1141833909.570298.302480@z34g2000cwc.googlegroups.com \
--to=jamesd@ring4freedom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).