Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

unique sql

CREATE TABLE order_details
( order_detail_id integer CONSTRAINT order_details_pk PRIMARY KEY,
  order_id integer NOT NULL,
  order_date date,
  quantity integer,
  notes varchar(200),
  CONSTRAINT order_unique UNIQUE (order_id)
);
Source by www.techonthenet.com #
 
PREVIOUS NEXT
Tagged: #unique #sql
ADD COMMENT
Topic
Name
2+4 =