Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL CHECK Constraint

CREATE TABLE Orders (
  order_id INT PRIMARY KEY,
  amount int CHECK (amount >= 100)
);
 
PREVIOUS NEXT
Tagged: #SQL #CHECK #Constraint
ADD COMMENT
Topic
Name
1+7 =