SQL Server 2012, "TCP dynamic ports"

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
Post Reply
Radek
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 09.05.2012, 07:44

SQL Server 2012, "TCP dynamic ports"

Post by Radek »

Hi,

I would like to ask if ZeosLib can connect to SQL Server 2012 using a method of "TCP dynamic ports"?

Best regards,
Radek
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1962
Joined: 17.01.2011, 14:17

Re: SQL Server 2012, "TCP dynamic ports"

Post by marsupilami »

Hello Radek,

for MS SQL Server that usually will depend on the library that you choose to connect:
  • The ADO-Bridge should be capable of doing that if it is supported by the ADO / ODBC drivers of Microsoft.
  • The mssql driver uses the ancient ntwdblib.dll that is not supported by microsoft for quite some years now and most probably is not capable of doing that.
  • For FreeTDS ist is not known to me if they support that feature and if something would need to be implemented in Zeos to make this a possible solution.
So the answer depends on which driver you use.
Best regards,

Jan
miab3
Zeos Test Team
Zeos Test Team
Posts: 1310
Joined: 11.05.2012, 12:32
Location: Poland

Re: SQL Server 2012, "TCP dynamic ports"

Post by miab3 »

@marsupilami,

For FreeTDS situation is similar to mssql (ntwdblib.dll) but it works for 32 and 64 bits.
Just put on the path adequate FreeTDS *dblib* DLL.

Michal
Radek
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 09.05.2012, 07:44

Re: SQL Server 2012, "TCP dynamic ports"

Post by Radek »

Hi,

I wonder what should I put in a protocol and host property of TZConnection object in a context of dynamic ports. I need to mention that I use a "FreeTDS_MsSQL>=2005" protocol.


Best regards,
Radek
Post Reply