ArticleslgStudy

science

Tabular Data Stream

Tabular Data Stream is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Tabular Data Stream rather than just read about it. In short: 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.

Key takeaways

  • Tabular Data Stream belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Tabular Data Stream to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Tabular Data Stream from memory before moving on to harder problems.

Reference excerpt

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 versions, most of which had not been openly documented. This situation changed when Microsoft published the TDS specification in 2008, as part of the Open Specification Promise. TDS has both client and server implementations beyond Microsoft SQL Server and Sybase. The FreeTDS provides a free native-library client implementation of the TDS protocol, licensed under the GPL-2.0 license. Wireshark has a protocol decoder for TDS. CData and Invantive provide server implementations of the TDS protocol, bridging TDS to other data platforms than SQL Server.

Protocol versions Microsoft SQL Server has used several revisions of the Tabular Data Stream (TDS) protocol. Microsoft's MS-TDS specification maps TDS 7.1 to SQL Server 2000, TDS 7.2 to SQL Server 2005, TDS 7.3.A to SQL Server 2008, TDS 7.3.B to SQL Server 2008 R2, TDS 7.4 to SQL Server 2012 and later, and TDS 8.0 to SQL Server 2022 and later.

TDS 4.2, associated with older Sybase and Microsoft products, and TDS 5.0, used by Sybase, are distinct from the later Microsoft-specific TDS 7.x and 8.0 lines.

Similar protocols Oracle Corporation provides Oracle Net - software analogous to TDS.

See also Transact-SQL

References

External links [MS-TDS]: Tabular Data Stream Protocol specification, Microsoft What is TDS?, sybase.com FreeTDS TinyTDS, Ruby bindings to FreeTDS. jTDS, a pure-Java JDBC driver for TDS databases jBCP, an extension of jTDS to include BCP protocols United States Patent 7318075: Enhanced tabular data stream protocol, Microsoft Patent: TRANSPORTING TABLE VALUED PARAMETER OVER TABULAR DATA STREAM PROTOCOL, Microsoft Patent application: COMPRESSING NULL COLUMNS IN ROWS OF THE TABULAR DATA STREAM PROTOCOL, Microsoft WireShark wiki: Protocol tds

Worked examples

Example 1 — a first encounter with Tabular Data Stream

Start with the simplest possible case. Write down what Tabular Data Stream claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Tabular Data Stream before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Tabular Data Stream ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Tabular Data Stream

In research
Tabular Data Stream appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Tabular Data Stream in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Tabular Data Stream is common in secondary-school and first-year university syllabi. It links to neighbouring topics Application layer protocols, Database access protocols, so understanding it makes those chapters shorter.
In everyday life
Look for Tabular Data Stream outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Tabular Data Stream” →

How to study Tabular Data Stream in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Tabular Data Stream means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Tabular Data Stream out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Tabular Data Stream in simple terms?

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.

Why does Tabular Data Stream matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Tabular Data Stream?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Tabular Data Stream.

Tags

  • Application layer protocols
  • Database access protocols

Keep exploring