This lecture will cover the TDS (Tabular Data Stream) protocol in different aspects. We'll cover in brief form its history and then go over the specfication via a walk through method so the learner can understand how to navigate the documentation. Critical aspects of the protocol such as login, execution and result set processing will be covered. The majority of the lecture will cover how to collect the TDS logs from different ASE clients (OpenClient, ODBC, ADO.NET and jConnect) and how to format the traces in readable form. From there we'll look at problem scenarios and learn how toread the trace and utilize it for diagnostic purposes.