Posts
Sort by recent activity
Formatting bug when using IIF
if you take the following statement, the spaces are intenional white spaces, and format it it does not format the IIF as nicely as the datediffselect
iif( rrbr.ColumnName = 'Test', 0, ...
Formatting bug when using windowed functions
I would not expect the t.* or the tables to be aligned/placed where they are. If you comment the first line i.e the sum then it formats properly
select
sum(t.Amount) over (),
...