Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
809 views
in Technique[技术] by (71.8m points)

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

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...