SQL style guide by Simon Holywell
sqlstyle.guide · 3,563 words · saved by 1 readers
A consistent code style guide for SQL to ensure legible and maintainable projects
SQL style guide by Simon Holywell اَلْعَرَبِيَّةُ (Arabic) Deutsch (German) English Español (Spanish) Français (French) Italiano (Italian) 日本語 (Japanese) 한국어 (Korean) Polski (Polish) Português (BR) (Portuguese - Brazil) Русский (Russian) Türkçe (Turkish) Українська (Ukrainian) Tiếng Việt (Vietnamese) 简体中文 (Simplified Chinese) 正體中文 (Traditional Chinese) Overview General Do Avoid Naming conventions General Tables Columns Aliasing or correlations Stored procedures Uniform suffixes Query syntax Reserved words White space Indentation Preferred formalisms Create syntax Choosing data types Specifying
saved by
related reading
- Against SQLscattered-thoughts.net
- SQLFluffsqlfluff.com
- styleguide | Style guides for Google-originated open-source projectsgoogle.github.io
- Reflections on a decade of codingscattered-thoughts.net
- Don't Do This - PostgreSQL wikiwiki.postgresql.org
- Glossary - SQLAlchemy 1.4 Documentationdocs.sqlalchemy.org
- It's not you, it's SQLstack.convex.dev
- SQLAlchemysqlalchemy.org
- LLMs shouldn’t write SQL - by Benn Stancil - benn.substackbenn.substack.com
- Clean up your code: How to create your own C# code styleblog.unity.com
- The Case of a Curious SQL Query • Buttondownbuttondown.email
- SQL vs NoSQL in 8 Examples | Towards Data Sciencetowardsdatascience.com