|
|
Re: Difference between unique-not null and primary key [message #371090 is a reply to message #371084] |
Thu, 24 August 2000 17:51 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Andrew again...
Messages: 270 Registered: July 2000
|
Senior Member |
|
|
You can't create a Foreign key constraint on a table which references a not-null Unique index. It must be a primary key. It's a good idea to get into the habbit of creating Primary Keys, Foreign key contraints etc. - it's the only way to ensure data integrity. Many people don't see the need for them - don't follow them!
|
|
|
|
|
|