I have seen couple of sample tables one is with UNIQUE INDEX and other is with UNIQUE KEY. what is the difference between two?? or both are same?
+1
A:
CREATE TABLE
KEY is normally a synonym for INDEX.
You can use them interchangeably as described in syntax page
[CONSTRAINT [symbol]] UNIQUE [INDEX|KEY]
Naktibalda
2010-07-14 11:00:17