Nagaraj Tantri
Nagaraj Tantri

Reputation: 11

Is it possible to break a Composite key?

Is it possible to break the composite key of a table and use one of them as a primary key for other table? If yes, then please tell me how can I do it?

Upvotes: 1

Views: 176

Answers (1)

Mark Byers
Mark Byers

Reputation: 838876

Generally you use a composite key when none of the columns alone contains unique values. Since a primary key must be unique, you probably can't use just one of the columns.

Upvotes: 2

Related Questions