Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Surrogate Key vs Production Key
Noons wrote:
> Daniel Morgan <damorgan_at_x.washington.edu> wrote in message news:<1097210055.635712_at_yasure>...
>
>
>>Joe Celko weighs in on the side of natural keys and so do I. >>
I can't speak to whether Joe has had that specific experience but I can say that I have. And I've told the client to go pound sand. A record is either unique or it is not. If it is a surrogate key is irrelevant. And if it is not then you've got a world of pain coming and the only questions is when. And any client that asks to have a primary key changed is not going to see a smile on my face unless I'm being paid by the hour.
This is not to say I don't use surrogate keys ... I use them a lot of the time. But never as the first choice.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace 'x' with 'u' to respond)Received on Sat Oct 09 2004 - 14:48:54 CDT
![]() |
![]() |