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

G-4220: Very minor update to formatting of bad example #64

Closed
RichardSoule opened this issue Sep 11, 2019 · 1 comment
Closed

G-4220: Very minor update to formatting of bad example #64

RichardSoule opened this issue Sep 11, 2019 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@RichardSoule
Copy link

G-4220: Try to use CASE rather than DECODE.

If the formatting of the 'bad' example was changed to this, then it isn't quite as bad...

SELECT DECODE(dummy, 'X', 1 
                   , 'Y', 2
                   , 'Z', 3
                        , 0)
  FROM dual;
@PhilippSalvisberg PhilippSalvisberg self-assigned this Sep 12, 2019
@PhilippSalvisberg PhilippSalvisberg added the bug Something isn't working label Sep 12, 2019
@PhilippSalvisberg PhilippSalvisberg added this to the v3.4 milestone Sep 12, 2019
@PhilippSalvisberg
Copy link
Collaborator

Yes, that's correct. I'll fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants