Chapter 18. Debugging and Profiling

The program may not be broken, but it does hurt.

Martin Fowler[1]

[1] Fowler, Martin. Refactoring: Improving the Design of Existing Code. Reading, MA; Addison-Wesley, 1999. Page 7.

In this chapter we'll talk about debugging and profiling Transact-SQL stored procedures. We'll also talk about how to stress test SQL Server using Transact-SQL queries and a free stress testing tool that you'll find on the book's CD.

Get Guru's Guide to SQL Server™ Stored Procedures, XML, and HTML, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.