It can be used to specify the limit on the data type of table. Constraint in sql can be specified while creating or altering the table statement. Sample of constraint are.
NOT NULL.
CHECK.
DEFAULT.
UNIQUE.
PRIMARY KEY.
FOREIGN KEY.
Liked By
Write Answer
What is a constraint?
Join MindStick Community
You have need login or register for voting of answers or question.
Manish Kumar
24-May-2017It can be used to specify the limit on the data type of table. Constraint in sql can be specified while creating or altering the table statement. Sample of constraint are.