Points: 55409

11/10/2021 8:48:07 AM

How to format T-SQL

* This article, and all our great SQL (General) documentation, Is available on the SQL (General) menu

OK... bit of a soap box here. But I've been coding SQL for a lot of years, and I can tell from experience that there is very little consistency in formatting SQL, and some methods are better than others. Here's what I do.

I've read what the 'experts' say... and sometimes they're wrong too <smiles>

Version: Unknown or N/A
Section: SQL Scripts
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables