Module version

Module version 

Source
Expand description

TDS protocol version definitions.

This module provides types for both TDS protocol versions and SQL Server product versions. These are distinct concepts:

  • TDS Version (TdsVersion): The wire protocol version (7.0, 7.1, 7.2, 7.3, 7.4, 8.0)
  • SQL Server Version (SqlServerVersion): The SQL Server product version (11.0, 12.0, 13.0, etc.)

During PreLogin, the client sends its requested TDS version, but the server responds with its SQL Server product version. The actual TDS version is negotiated in the LOGINACK token.

Structsยง

SqlServerVersion
SQL Server product version.
TdsVersion
TDS protocol version.