check constrait in sql

technical talkiess
0

 check constrait used to the value range in the column.

its allow only certain value.

create table vishal(

id int not null,

lastname varchar(50),

age int,

check(age<=20)

);





Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)