Answers for "create table with check constraint sql server"

SQL
1

sql constraint check value in list

CREATE TABLE test(
    _id BIGINT PRIMARY KEY NOT NULL,
    decision NVARCHAR(5),
    CHECK (decision in ('yes','no','maybe'))
);
Posted by: Guest on May-24-2020

Code answers related to "create table with check constraint sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language