Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: URGENT: Primary key vs Unique Index
In article <33133DFD.6162_at_mediadata.com.sg>,
Mars <mars_at_mediadata.com.sg> wrote:
>Pardon my ignorance but why can't a primary key be NULL ? Is it a rule
>or is it specific to just Oracle ?
A primary key generally serves to uniquely identify each record in a table. Thus, a primary key being NULL would mean something like "I don't know what this record is about", something we don't like to see in a database.
Stefan.
Name :G.R.S. Deisz Phone :+31-50-5855954 E mail :G.R.S.Deisz_at_PTT-Telecom.Unisource.NL DISCLAIMER:This statement is not an official statement from, nor does it represent an official position of, PTT Telecom BV.Received on Fri Feb 28 1997 - 00:00:00 CST