Monday, September 29, 2014

SQL Syntax Formatter


I'm expecting the tool to have an ability to tidy up the code to be as follows



SELECT



[column1],



[column2]



FROM [schema1].[something]



Thanks and have a good day.



I have not paid attention to this thread previously. But in my opinion, this is untidying the code. Square brackets should only be used when neded. (And preferrably, they should not be needed, but you should stick regular identifiers.) Square brackets everywhere only makes the code more difficult to read.





Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

No comments:

Post a Comment