I found this SQL style guide which looks good. I’m not a pro at SQL but it looks good to me. I mean, you use the style guide your boss wants you to use, or what all others use, but what if you could choose?

  • Imacat@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    9
    ·
    4 days ago

    Almost every time I ask another dev about their preferred styling/formatting, they say they don’t really care as long as it’s all consistent. Automate something like sqlfluff with close to the default settings so you can limit that cognitive load and focus on coding.