Bernie Davidovics said:
> So is TDS a Microsoft proprietary protocol these days?
As far as I know, yes.
> Is there really no way to get or buy the full protocol documentation?
As far as I know, yes, for the versions Microsoft are currently using (and
if there's a way to get documentation under NDA, so that we can't put a
dissector into Ethereal, that doesn't help).
The FAQ for the FreeTDS project says:
http://www.freetds.org/faq.html#protocol
"Is there any documentation on the TDS protocol?
Yes, there is some preliminary documentation available. The most up to
date version is in the User Guide.
Sybase has also made the TDS 5.0 protocol documentation available for free
(price) download."
The "preliminary documentation", at least for newer versions, appears to
be the result of reverse-engineering, as it has some notes indicating that
there are unknown parts of the protocol, in a fashion that suggests that
what they *do* know about it was derived by reverse engineering.
That documentation also has a table that indicates that TDS 5.0 is for
"Sybase SQL Server >= 10", and that 7.0 is for "Microsoft SQL Server 7.0"
and 8.0 is for "Microsoft SQL Server 2000", so the 5.0 documentation
wouldn't help for newer versions of SQL Server.
If you know of available documentation on current versions of the TDS
documentation, you should let us - and the FreeTDS project - know.