T-SQL 101: 34 Formatting your scripts for readability
While it might be obvious that it’s important to format your T-SQL code for readability, it might be less obvious that there’s no agreed standard for how to format that code.
Everybody has their own style. The main thing. People will tell you all the time is just to be consistent. But then they’ll tell you they don’t like the format you’ve used.
Take a reasonable style and then to just keep applying it.
2019-09-09