Skip to content

first commit of styleguide for SQL code#169

Merged
fredericpiesschaert merged 2 commits intomasterfrom
sql_styleguide
Jun 30, 2020
Merged

first commit of styleguide for SQL code#169
fredericpiesschaert merged 2 commits intomasterfrom
sql_styleguide

Conversation

@fredericpiesschaert
Copy link
Copy Markdown
Contributor

No description provided.

@florisvdh florisvdh changed the title first commit of styleguide first commit of styleguide for SQL code Jun 23, 2020
@florisvdh
Copy link
Copy Markdown
Member

This PR addresses #9 .

after discussion with Gert VS
Copy link
Copy Markdown
Contributor

@Jo-Loos Jo-Loos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basic sql 92 styling

@fredericpiesschaert fredericpiesschaert merged commit 034b500 into master Jun 30, 2020
@fredericpiesschaert fredericpiesschaert deleted the sql_styleguide branch June 30, 2020 06:53
Copy link
Copy Markdown
Member

@florisvdh florisvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and very interesting @fredericpiesschaert 🎉 Thanks a lot for making a tutorial on SQL styling.

Some minor remaining comments:

  • typo: meaningfull -> meaningful
  • lowercase aliases: better also use lowercase utm1?
  • I have the impression that you consistently put whitespace around relational operators (= > ...), maybe that's also something to point out as a styling rule. The only place where you deviate from that is in WHERE 1=1, perhaps then 1 = 1 is better then? Your decision, of course 😉

fredericpiesschaert added a commit that referenced this pull request Sep 3, 2020
see comments of Floris --> #169 (review)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants