format expressions like operator
Would it be possible to treat the 'LIKE' operator the same as '=' in the Expressions\Operators settings so they are all aligned?
select AddressID
from Person.Address
where ModifiedDate
between dateadd(month, -6, getdate())
and getdate()
and City = 'Bothell'
or left(PostalCode, 2) like 'CB%'
or PostalCode = @prefix + @suffix
2
votes
![](https://secure.gravatar.com/avatar/48645d45e754fdbc72bb0e101b3a7ead?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Brad commented
select~~AddressID
from~~~~Person.Address
where~~~ModifiedDate
between~dateadd(month,~-6,~getdate())
and~~~~~getdate()
and~~~~~City~~~~~~~~~~~~~~~~=~~~~'Bothell'
or~~~~~~left(PostalCode,~2)~like~'CB%'
or~~~~~~PostalCode~~~~~~~~~~=~~~~@prefix~+~@suffix