A primary key must be unique. It must uniquely identify the record in the master table.
As far as which is more appropriate, look to your business domain. Which "identifier" is most often used in the business? That would be the choice of primary key, if you are using natural keys.
If you don't know, or requirements may change, its a good indication that a surrogate key may be a better choice (database generated primary key).
Main Topics
Browse All Topics





by: leakim971Posted on 2009-10-30 at 17:12:09ID: 25707652
Hello kuntilanak,
I would create a new one.
Regards.