TDS Protocol Deep Dive
Proposed session for SQLBits 2026TL; DR
Ever wondered how applications communicate with databases? This session reveals what happens behind the scenes when connecting to SQL Server. We'll examine the protocol messages and demonstrate a Rust service implementing TDS, showing how query commands are processed and results formatted.
Session Details
Ever wondered how your applications communicate with databases? This session reveals what happens behind the scenes when you connect to SQL Server. We'll examine the messages exchanged between client and server, and explore how the TDS protocol makes database communication possible. The centrepiece is a live demonstration of a Rust service that acts as a database by implementing the TDS protocol. You'll observe how query commands are processed, how result sets are structured, and how the protocol manages bidirectional communication.
3 things you'll get out of this session
Explain the internals of TDS protocol
Highlight the key things you should be aware of