MySQL Forums
Forum List  »  Newbie

Set Key in DB
Posted by: Jari Aherma
Date: March 04, 2005 06:51AM

English:
Greetings to all

I am an absolute greenhorn what mysql concerns.

I have to create a table with a primary key (auto_increment). That is clear for me. But now it comes. In the same table I have to set an additionas "Key". How do I do that? May somebody be so kind to explain this for me ?

Additional: How do I set a "Key" in a table that hasn't a primary key?

German:
Ich muss in einer Tabelle "primary key" und "key" setzen. Das mit dem
Primary Key ist mir klar (auto_increment), aber wie setze ich in derselben
Tabelle nebst dem "Primary Key" auch noch ein "Key"?

Zusätzlich: Wie setze ich in einer Tabelle welche keinen "Primary Key" hat
einen "Key"?

Ich wäre sehr froh wenn Sie mir diesbezüglich einen kleinen Hinweis geben
könnten.

Options: ReplyQuote


Subject
Written By
Posted
Set Key in DB
March 04, 2005 06:51AM


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.