Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql create text column limited values

CREATE TABLE tablename (id INTEGER NOT NULL, some_text VARCHAR(255), CONSTRAINT check_some_text CHECK (some_text IN ('option_a', 'option_b', 'option_c'))); 
 
PREVIOUS NEXT
Tagged: #sql #create #text #column #limited #values
ADD COMMENT
Topic
Name
3+1 =