From: Mathias Dahl <brakjoller@gmail.com>
Subject: Re: Building a database interface in Emacs
Date: Thu, 21 Dec 2006 10:03:01 +0100 [thread overview]
Message-ID: <uzm9hr58a.fsf@gmail.com> (raw)
In-Reply-To: mailman.2157.1166644516.2155.help-gnu-emacs@gnu.org
jason haslup <jason@haslup.com> writes:
>> Is there any smarter way of doing it?
>
> I did something using comint's filter functions, but it requires
> having a *SQL* buffer open to the database you're interested in:
>
> http://www.haslup.com/index.cgi/emacs/2006/12/20/
Nice! There are probably some ideas worth checking up in there.
> I'm not too familiar with sqlplus, but I know the mysql client has a
> raw mode and also an XML mode for queries that might help in looking
> for the end of a query's results.
Yes, sqlplus has an option to output things as HTML. That might makes
things easier to parse as well as easier to see when the output is
done.
> Or, if sqlplus doesn't work, I wonder if a simple helper client
> using oracle's libraries would be something you could use with
> start-process.
Yes, using OCI would be the best I guess, but I am too lazy and do not
have experience fiddling with that.
My experiements are working OK, now I just have to figure out what the
heck I *really* want to use it for... :)
next prev parent reply other threads:[~2006-12-21 9:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-20 12:28 Building a database interface in Emacs Mathias Dahl
2006-12-20 15:42 ` aartist
2006-12-20 16:02 ` Mathias Dahl
2006-12-20 16:49 ` Mathias Dahl
2006-12-20 16:59 ` aartist
2006-12-20 17:13 ` Mathias Dahl
2006-12-20 17:46 ` Lennart Borgman
[not found] ` <mailman.2154.1166636803.2155.help-gnu-emacs@gnu.org>
2006-12-20 17:51 ` Mathias Dahl
2006-12-20 20:23 ` Magnus Henoch
[not found] ` <mailman.2158.1166646507.2155.help-gnu-emacs@gnu.org>
2006-12-21 9:04 ` Mathias Dahl
2006-12-20 19:49 ` jason haslup
[not found] ` <mailman.2157.1166644516.2155.help-gnu-emacs@gnu.org>
2006-12-21 9:03 ` Mathias Dahl [this message]
2006-12-21 16:42 ` Hadron Quark
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=uzm9hr58a.fsf@gmail.com \
--to=brakjoller@gmail.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).