Answers for "add check sql"

SQL
1

adding a check statement in sql

ALTER TABLE table_name
ADD CONSTRAINT constraint_name
CHECK (column_name condition);
Posted by: Guest on October-25-2021
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 "SQL"

Browse Popular Code Answers by Language