All Collections
Database Objects
Check Constraints (SQL Server, MySQL, PostgreSQL)
Check Constraints (SQL Server, MySQL, PostgreSQL)

How to create and use check constrains in supported databases

SqlDBM Support avatar
Written by SqlDBM Support
Updated over a week ago

A check constraint can be applied to one or multiple columns (at row level) to ensure that all values match the constraint parameters.

Create a check constraint:

  1. Using Database explorer

2. Using table properties

Check constraint properties

You may:

• set a name

• enter the expression

• enable the "Not Enforced" status

• enter a description

Did this answer your question?