PQL Wiki
Advertisement


PQL Constraints

Constraints are used to limit the type of data that can go into a stable. Constraints can be specified when a stable is created (with the CREATE STABLE statement) or after the stable is created (with the ALTER STABLE statement).

We will focus on the following constraints:
NOT NULL
UNIQUE
PRIMARY KEY
FOREIGN KEY
CHECK
DEFAULT



Create Stable PQL Not Null
Advertisement