[freetds] Sybase ASA 7, unixODBC problem
James K. Lowden
jklowden at schemamania.org
Sun Nov 7 22:18:36 EST 2004
"Gene Dymarskiy" <gagarin at i-dep.com> wrote:
> This worked!
> Thank you all very much
> -----Original Message-----
> From: freetds-bounces at lists.ibiblio.org
> [mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of
> lsunley at mb.sympatico.ca
> Sent: Saturday, November 06, 2004 7:30 PM
> To: FreeTDS Development Group
> Subject: RE: [freetds] Sybase ASA 7, unixODBC problem
> When I was digging through the code...
> You can set the environment variable DSQUERY to the server name and that
> will be used by tds_set_server
Well, I'll be.
I can't say that this has much to recommend it (apart from the fact that
it works, if by accident). We really ought to pick up the servername from
the freetds.conf file. Or maybe from odbc.ini or the connection string.
But at least it's a workaround.
Thanks for the legwork, Lorne.
More information about the FreeTDS