benlaan / sqlformat

.NET SQL Parser and Formatter Tool and SSMS Plugin
http://sqlformat.benlaan.com
BSD 3-Clause "New" or "Revised" License
73 stars 27 forks source link

Strange Format when NOT is wrapped in an expression #19

Open benlaan opened 8 years ago

benlaan commented 8 years ago

SELECT 1 FROM ATable WHERE (NOT (ATable.AReallyReallyLargeField IS NOT null) OR ATable.AReallyReallyLargeField < @p1)