Skip to Content.
Sympa Menu

freetds - Re: [freetds] Sybase ASA 7, unixODBC problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Sybase ASA 7, unixODBC problem
  • Date: Sun, 7 Nov 2004 22:18:36 -0500

"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.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page