[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Best way to talk to MS SQL server from guile?
From: |
tomas |
Subject: |
Re: Best way to talk to MS SQL server from guile? |
Date: |
Mon, 26 Oct 2015 12:08:47 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Oct 24, 2015 at 05:17:13AM -0400, Jamil Egdemir wrote:
> Hi Everyone,
>
> I need to connect to an instance of MS SQL Server from guile and I'm
> looking for the best way to do so. I'm inside cygwin on a windows box
> and working with freetds and iodbc. (unixodbc is an option too if
> necessary and I have experience using it but let's just say for now it's
> iodbc.)
>
> I first started poking around for anything that mentioned guile and odbc
> or guile and freetds but no such luck.
>
> So my question is, how do those of you who are trapped on a windows box
> talk to MS SQL server when coding with guile?
I guess, based on the lack of responses, that there's no such thing.
For a one-off job, I'd try to call tsql as a sub-process and parse
its output; for a more robust and durable solution, a binary interface
to the FreeTDS libraries might be the right thing to do.
(Alas, I have no MS SQL database I could play around with... without
getting fired, that is :-)
regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlYuCb8ACgkQBcgs9XrR2kYjLwCfUwgnfb06BdAxa+wELhVUz43P
vdsAn10BwdZRXu+lrdNNyKDaIG5ts/bl
=sWl0
-----END PGP SIGNATURE-----