Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linebreak before CASE and WHEN #13

Closed
ukupat opened this issue Sep 25, 2016 · 1 comment
Closed

Add linebreak before CASE and WHEN #13

ukupat opened this issue Sep 25, 2016 · 1 comment
Labels

Comments

@ukupat
Copy link
Contributor

ukupat commented Sep 25, 2016

https://msdn.microsoft.com/en-us/library/ms181765.aspx
http://docs.oracle.com/cd/B19306_01/server.102/b14200/expressions004.htm

I suggest formatting it this way:

SELECT
  cust_last_name,
  CASE credit_limit
    WHEN 100 THEN 'Low'
    WHEN 5000 THEN 'High'
    ELSE 'Medium'
  END
FROM customers;
@ukupat ukupat added the bug label Nov 11, 2016
@ukupat ukupat closed this as completed Jun 16, 2017
@ukupat
Copy link
Contributor Author

ukupat commented Jun 16, 2017

Won't fix

nene pushed a commit that referenced this issue Apr 27, 2022
Add options for comma placement positions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant