Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql constraint check value in list

ALTER TABLE <table>
ADD CONSTRAINT chk_val CHECK (col in ('yes','no','maybe'))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #constraint #check #list
ADD COMMENT
Topic
Name
9+3 =