MySQL Forums
Forum List  »  Newbie

Question related to unique key
Posted by: g_p g_p
Date: March 16, 2009 07:43AM

Hello, whenever i'm creating a table i specify which of the fields is the primary key e.g.

create table mouse(ms_id integer,
manufacturer varchar(50),
connection varchar(50),
primary key(ms_id));

What is unique key? is it obligatory to place a unique key and what does this mean?

Thanks,in advance!

Options: ReplyQuote


Subject
Written By
Posted
Question related to unique key
March 16, 2009 07:43AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.