Code formatting

External Article

Laying out SQL Code

  • Article

It is important to ensure that SQL code is laid out the best way for the team that has to use and maintain it. Before you work out how to enforce a standard, one has to work out what that standard should be for the application. So do you dive into detail or create an overall logic to the way it is done?

2010-02-05

4,843 reads

External Article

Transact-SQL Formatting Standards (Coding Styles)

  • Article

How should SQL code be formatted? What sort of indentation should you use? Should keywords be in upper case? How should lists be lined up? SQL is one of those languages that will execute anyway however you treat whitespace and capitalization. However, the way SQL is laid out will effect its readability and the time taken to review and understand it. Standardisation of code layout is an important issue, but what standard should you adopt? Rob avoids a direct answer, but tells you the sort of answers you'll need to decide upon when creating a strategy for formatting SQL code.

2009-09-08

4,913 reads

Blogs

Postgres data in Snowflake in under a minute, without an ETL pipeline

By

We spent two days benchmarking Snowflake Postgres mirroring under load. Postgres data reached Snowflake...

Why your data strategy and AI strategy should be one

By

When data and AI strategies compete for the same platform, teams duplicate work and...

Microsoft Ignite Announcements Nov 2026

By

Microsoft shared another large set of announcements at Microsoft Ignite, held November 17–20 in...

Read the latest Blogs

Forums

Bca Kantor Cabang Pembantu.Tlp/wa;08218168235

By christy.umoren

Bca Kantor Cabang Pembantu.Tlp/wa;08218168235Jl. Raya Klp. Hybrida No.RT.10 Blok PF 21 No.8, RT.10/RW.3, Pegangsaan...

BCA KCU MUARA KARANG Tlpn(CS):082126922251

By christy.umoren

BCA KCU MUARA KARANG Tlpn(CS):082126922251 Jl. Muara Karang Timur, Blok B VIII No.116-117, RT.6/RW.12,...

BCA KCP SemperTlp/wa;08218168235

By christy.umoren

BCA KCP SemperTlp/wa;08218168235Jl. Plumpang Semper No.02, RT.10/RW.2, Tugu Sel., Kec. Koja, Jkt Utara, Daerah...

Visit the forum

Question of the Day

Severe Errors

Which class of errors are automatically written to the error log?

See possible answers