Skip to content

Enumeration

SQLTableConstraintAlgorithm

Table-level data constraints.
enum SQLTableConstraintAlgorithm

Overview

Most dialects of SQL support both column-level (specific to a single column) and table-level (applicable to a list of one or more columns within the table) constraints. While some constraints can be expressed either way, others are only allowed at the column level. See SQLColumnConstraintAlgorithm for column-level constraints.

Most table-level constraints can optionally be explicitly named; see SQLConstraint for this functionality.

Table constraints are used by SQLCreateTable and SQLAlterTable, and also appear directly in the APIs of SQLAlterTableBuilder, SQLCreateIndexBuilder, and SQLCreateTableBuilder.

Topics

Enumeration Cases

Instance Methods

Relationships

Conforms To

See Also

Clause Expressions