Thread
:
Preventing duplicate data pairs
View Single Post
01-14-2013, 07:08 PM
PM User
|
#
9
tempz
Regular Coder
Join Date: Jul 2012
Location: London
Posts: 436
Thanks: 4
Thanked 80 Times in 80 Posts
something like this?
Code:
ALTER TABLE tbl1 ADD UNIQUE KEY(col1, col2)
tempz
View Public Profile
Find More Posts by tempz