Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: non unique Index and Primary Key on same column. Is it needed?
I've seen plenty of schemae where there wasn't a separate not null
constraint on the primary key columns. The thinking is that the PK
constraints enforces the "not null" so a separate one isn't needed.
When I was a developer, I used to do that until a DBA convinced me that it wasn't a good idea.
-----Original Message-----
Mark W. Farnham
null values in pk columns? ain't it sorta a schema design error to have nullable columns as components of the pk?
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Wed Aug 25 2004 - 12:21:14 CDT
-----------------------------------------------------------------
![]() |
![]() |