| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Surrogate Keys: an Implementation Issue
Bob Badour wrote:
>
Bob,
As I noted to paul c, perhaps the choice of "surrogate key" was a bad idea. I think I understand the importance of keeping the logical and physical levels separate. But when you sit down to actually implement somthing, it seems one must think of both at the same time.
In the particular DBMS implementation I'm working on I need an immutable identifer for each row due to rollback and audit requirements. The implementation of this immutable identifier is just a system column for the table, so it can do double duty if the user has not defined a natural key for a table, and it can be exposed as an auto-incrementing surrogate key. So for most tables it is not exposed, but for some it is.
I'm hoping that in the result that is presented to the user I have not confused the physical and logical models. Received on Thu Jul 20 2006 - 09:05:12 CDT
![]() |
![]() |