Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL UNIQUE Constraint

CREATE TABLE Colleges (
  college_id INT NOT NULL UNIQUE,
  college_code VARCHAR(20) UNIQUE,
  college_name VARCHAR(50)
);
Source by www.techonthenet.com #
 
PREVIOUS NEXT
Tagged: #SQL #UNIQUE #Constraint
ADD COMMENT
Topic
Name
9+7 =