Skip to main content
Commonmark migration
Source Link

#SQL

SQL

General:

###SQL Server / Transact-SQL

SQL Server / Transact-SQL

Online: SQL-Format.org

Natively: SET SHOWPLAN_XML

###MySQL

MySQL

Online: MySQL Syntax Check

Natively: EXPLAIN

###PostgreSQL & PL/pgSQL

PostgreSQL & PL/pgSQL

Plugin: pg-validator

Natively: EXPLAIN

###SQLite

SQLite

Plugin: sqllogictest

Natively: EXPLAIN

###Oracle:

Oracle:

Natively: EXPLAIN

#SQL

General:

###SQL Server / Transact-SQL

Online: SQL-Format.org

Natively: SET SHOWPLAN_XML

###MySQL

Online: MySQL Syntax Check

Natively: EXPLAIN

###PostgreSQL & PL/pgSQL

Plugin: pg-validator

Natively: EXPLAIN

###SQLite

Plugin: sqllogictest

Natively: EXPLAIN

###Oracle:

Natively: EXPLAIN

SQL

General:

SQL Server / Transact-SQL

Online: SQL-Format.org

Natively: SET SHOWPLAN_XML

MySQL

Online: MySQL Syntax Check

Natively: EXPLAIN

PostgreSQL & PL/pgSQL

Plugin: pg-validator

Natively: EXPLAIN

SQLite

Plugin: sqllogictest

Natively: EXPLAIN

Oracle:

Natively: EXPLAIN

Added information for all SQL types
Source Link
Phrancis
  • 20.5k
  • 35
  • 65

#SQL

General:

###SQL Server / Transact-SQL

Here is a good SQL Formatter onOnline: SQL-Format.org. It also has a bunch of examples of commonly used queries. It's mostly for SQL-Server, but should work fine for others as well.

Natively: SET SHOWPLAN_XML

###MySQL

Online: MySQL Syntax Check

Natively: EXPLAIN

###PostgreSQL & PL/pgSQL

Plugin: pg-validator

Natively: EXPLAIN

###SQLite

Plugin: sqllogictest

Natively: EXPLAIN

###Oracle:

Natively: EXPLAIN

###SQL

Here is a good SQL Formatter on SQL-Format.org. It also has a bunch of examples of commonly used queries. It's mostly for SQL-Server, but should work fine for others as well.

#SQL

General:

###SQL Server / Transact-SQL

Online: SQL-Format.org

Natively: SET SHOWPLAN_XML

###MySQL

Online: MySQL Syntax Check

Natively: EXPLAIN

###PostgreSQL & PL/pgSQL

Plugin: pg-validator

Natively: EXPLAIN

###SQLite

Plugin: sqllogictest

Natively: EXPLAIN

###Oracle:

Natively: EXPLAIN

Source Link
Phrancis
  • 20.5k
  • 35
  • 65

###SQL

Here is a good SQL Formatter on SQL-Format.org. It also has a bunch of examples of commonly used queries. It's mostly for SQL-Server, but should work fine for others as well.

Post Made Community Wiki by Phrancis