Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL CHECK Constraint

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