DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
how to define a non primary composite key in sql
ALTER TABLE dbo.YourTable ADD CONSTRAINT UC_YourTable_Col1_Col2 UNIQUE(Col1, Col2)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#define
#primary
#composite
#key
#sql
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit