Summary

In this chapter, you learned about a number of formatting and coding conventions that can help you churn out better Transact-SQL. Many of these apply regardless of whether you're creating a stored procedure or some other type of SQL Server-related object. You shouldn't assume that the list presented here is comprehensive or even applicable to every development team in every situation. The point is this: Adopting and consistently following sound formatting and coding conventions can help you produce better code with less effort.

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.