rails-sqlserver/tiny_tds — comment on commit c244f4faf24ca4e668371cbf9efaaff1dda78633
File:  line 0
By jconti:

I am able to do:

% TDSVER=82 tsql -S 'foohost\fooinst'

Without the TDSVER this doesn't work. However I cannot convince tinytds to behave the same.

I am not sure that reading the instance port from the main port is going to be reasonable (especially if it is protocol version specific).

I don't have a say in the configuration of my servers so static port configuration is not a choice for me. Manually discovering the port number and hard coding it is no solution either, since it won't work across reboots.

Maybe I am confused (happens every day ;) but it seems like freetds has enough capability but that it isn't usuable from tinytds?

Thank you,
John

Sent from my iPhone

On Feb 21, 2012, at 4:26 PM, Ken Collins wrote:

> I would have to do what you would do, just use some google-fu and find out. Once you find your answer, please share here and I can post to the README to help others.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/rails-sqlserver/tiny_tds/commit/c244f4faf24ca4e668371cbf9efaaff1dda78633#commitcomment-993857