Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Primary Keys optional?
Stephen,
It sounds like the developers don't know enough about relational design to care. I would insist and create PK's on every table. And then I would start creating and enforcing FK's. You have just been appointed new sheriff in town. So you get to insist and create all relationships in the database. You will be happy you did!!
Good Luck!
Tom
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Stephen Andert
Sent: Thursday, August 17, 2006 12:47 PM
To: oracle-l_at_freelists.org
Subject: Primary Keys optional?
OK, just starting a new job with more design than I have done in a while. Looking into things, I have been noticing that many tables have no PK. Some have a unique index, but not all.
When I pointed this out to folks (developers) they shrugged and said "if you need a PK, then create one".
So my questions are:
Thanks In Advance
--
Stephen Andert
http://spaces.msn.com/andert-news/
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Thu Aug 17 2006 - 12:16:15 CDT
![]() |
![]() |