I want to write right SQL queries and I need to know the standards of SQL formatting. I don’t mean logic or efficiency, I mean right indents and spaces. Also I interesting in case of the commands.
Are there any right SQL formatting patterns(standards)?
Look at Database Coding Standard and Guideline. It’s outdated since 2008, but I can’t find something better yet. I’m looking for this some months ago and seems really nice.
I was looking at oracle and mysql sites, but the “monsters” never published a formal paper.