Answers for "what is check constraint ?"

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 "what is check constraint ?"

Code answers related to "SQL"

Browse Popular Code Answers by Language