Answers for "how to add add a check constraint in sql"

SQL
4

sql constraint check value in list

ALTER TABLE <table>
ADD CONSTRAINT chk_val CHECK (col in ('yes','no','maybe'))
Posted by: Guest on May-24-2020

Code answers related to "how to add add a check constraint in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language