mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 09:59:48 -05:00
- Avoid incrementing indents for compound binary boolean expressions. Multiple 'AND x = Y' statements were each indenting instead of having the same indent level. - Fixes https://github.com/Microsoft/vscode-mssql/issues/709
11 lines
423 B
SQL
11 lines
423 B
SQL
select * from myTable
|
|
where ProcessDate = '20161009'
|
|
and LoanChargeoffDate is not null --charged-off loans
|
|
--and LoandChargeoffDate is null and LoanCloseDate IS NOT null
|
|
and LoanCode IN (0,1) -- open and close ended loans only
|
|
and LoanBalloonDate IS NULL -- exclude balloon loans
|
|
and LoanType = 1 -- LoanType NOT IN (10, 51, 97) -- no lines of credit
|
|
-- and LoanCreditScore > 0
|
|
and LoanTermMonths > 0
|
|
order by AddrChanged
|