Skip to content
Surf Wiki
Save to docs
technology/networking

From Surf Wiki (app.surf) — the open knowledge base

Tabular Data Stream


FieldValue
titleTabular Data Stream
is stackno
abbreviationTDS
purposeDatabase
developerSybase Inc., Microsoft
date
osilayerApplication layer (7)
portsTCP/1433

Tabular Data Stream (TDS) is an application layer protocol used to transfer data between a database server and a client. It was initially designed and developed by Sybase Inc. for their Sybase SQL Server relational database engine in 1984, and later by Microsoft in Microsoft SQL Server.

History

During the early development of Sybase SQL Server, the developers at Sybase perceived the lack of a commonly accepted application level protocol to transfer data between a database server and its client. In order to encourage the use of its products, Sybase promoted the use of a flexible pair of libraries, called netlib and db-lib, to implement standard SQL. A further library was included in order to implement "Bulk Copy" called blk. While netlib's job is to ferry data between the two computers through the underlying network protocol, db-lib provides an API to the client program, and communicates with the server via netlib. db-lib sends to the server a structured stream of bytes meant for tables of data, hence a Tabular Data Stream. blk provides, like db-lib, an API to the client programs and communicates with the server via netlib.

In 1990 Sybase entered into a technology-sharing agreement with Microsoft which resulted in Microsoft marketing its own SQL Server — Microsoft SQL Server — based on Sybase's code. Microsoft kept the db-lib API and added ODBC. (Microsoft has since added additional APIs.) At about the same time, Sybase introduced a more powerful successor to db-lib, called ct-lib, and called the pair Open Client. db-lib, though officially deprecated, remains in widespread use.

The TDS protocol comes in several varieties, most of which had not been openly documented because they were regarded as proprietary technology. The exception was TDS 5.0, used exclusively by Sybase, for which documentation is available from Sybase. This situation changed when Microsoft published the TDS specification in 2008, as part of the Open Specification Promise.

The FreeTDS team has developed a free native-library implementation of the TDS protocol, licensed under the LGPL license. Wireshark has a protocol decoder for TDS.

Oracle Corporation provides Oracle Net - software analogous to TDS. |access-date= 2017-07-20

References

References

  1. "TDS 5.0 Functional Specification, Version 3.8".
  2. "[MS-TDS]: Tabular Data Stream Protocol".
  3. (2003). "SQL server security". [[McGraw-Hill Professional]].
  4. [http://wiki.wireshark.org/Protocols/tds protocol/tds], Wireshark.org wiki
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Tabular Data Stream — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report