What is TDS Protocol Version 8.0 and why should I use it?

二次信任 提交于 2019-11-28 02:53:41

问题


I've been using FreeTDS with 8.0 protocol for some time to connect to a MSSQL Database, and things have worked great. But, recently, things started to not work so great. I'll spare the details.

So we decided we needed to know a bit more, and I am a bit confused by the following:

Does FreeTDS support Microsoft servers?

Yes. Microsoft servers don't usually accept TDS 5.0 connections. Use one of versions 4.2, 7.0 or 8.0 of the protocol. See the User Guide for details.

User Guide

[No mention of 8.0 anywhere on the page.]

So, what is TDS Protocol Version 8.0 and why should I use it?


回答1:


FreeTDS "version 8" is actually version 7.1. Unfortunately, you have to look at the "history of TDS versions" page to figure that out, but here's the explanation from there:

Earlier FreeTDS documentation referred to versions 7, 8 and 9. Microsoft subsequently published a protocol specification document denoting 7.1 and 7.2, and one finds scattered references using that scheme elsewhere, too. For that reason, FreeTDS switched to Microsoft's nomenclature.



来源:https://stackoverflow.com/questions/10889294/what-is-tds-protocol-version-8-0-and-why-should-i-use-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!