How can we help you today? How can we help you today?

Minor CASE formatting issue

I'm using SQLPrompt 9.0.6.3580. Formatting CASE statements with negative WHEN values doesn't insert a space between WHEN and the value. For example, here's the result of formatted code:
DECLARE @iv int = -1
SELECT CASE @iv
    WHEN 1 THEN 'positive'
    WHEN-1 THEN 'negative'
END

Not a huge issue (the code still works), but a bit annoying.
mbray
0

Comments

1 comment

  • Russell D
    Thanks for reporting this @mbray , we've raised a case and are investigating.
    Russell D
    0

Add comment

Please sign in to leave a comment.