Skip to main content
Making CockroachDB easy to use is a top priority for us, so we chose to implement SQL. However, even though SQL has a standard, no database implements all of it, nor do any of them have standard implementations of all features. To understand which standard SQL features we support (as well as common extensions to the standard), use the table below.
  • Component lists the components that are commonly considered part of SQL.
  • Supported shows CockroachDB’s level of support for the component.
  • Type indicates whether the component is part of the SQL Standard or is an Extension created by ourselves or others.
  • Details provides greater context about the component.

Features

Row values

Constraints

Transactions

Indexes

Schema changes

Statements

Clauses

Table expressions

Scalar expressions and Boolean formulas

Permissions

PostgreSQL extensions

CockroachDB accepts some CREATE EXTENSION statements for compatibility with PostgreSQL tools and migrations. In CockroachDB, these statements are no-ops: if the related functionality is supported, it’s available without running CREATE EXTENSION. Further, when CREATE EXTENSION syntax is accepted by CockroachDB, that does not imply full compatibility with the corresponding PostgreSQL extension.

Miscellaneous