SQL > Constraint

You can place constraints to limit the type of data that can go into a table. Such constraints can be specified when the table when the table is first created via the CREATE TABLE statement, or after the table is already created via the ALTER TABLE statement.

Common types of constraints include the following:

Each constraint is discussed in the following sections.


Learn From Udemy: Learn SQL Using PostgreSQL: From Zero to Hero icon

Copyright © 2021   1keydata.com   All Rights Reserved     Privacy Policy     About   Contact