Re: Newbie question about db normalization theory: redundant keys OK?
From: Jonathan Leffler <jleffler_at_earthlink.net>
Date: Sun, 16 Dec 2007 20:49:48 -0800
Message-ID: <13mbvvda4oqdtd1_at_corp.supernews.com>
Date: Sun, 16 Dec 2007 20:49:48 -0800
Message-ID: <13mbvvda4oqdtd1_at_corp.supernews.com>
Dr. Dweeb wrote:
> This makes my student number 7613861 artifical?
> This makes my employee number 644923 artificial?
>
> One is used by my university, the other by my employer. They may be
> arbitrarily assigned, but they are unique and indicate me alone.
Well, the student number is unique to you when qualified as "student number at University of X", and the employee number is likewise unique to you when qualified as "employee number at Company Y". However, both numbers are quite likely in use in other contexts to identify things other than you.
And yes, I'd say both numbers are a form of artificial key.
-- Jonathan Leffler #include <disclaimer.h> Email: jleffler_at_earthlink.net, jleffler_at_us.ibm.com Guardian of DBD::Informix v2007.0914 -- http://dbi.perl.org/ publictimestamp.org/ptb/PTB-2045 tiger128 2007-12-17 03:00:04 9F83768C08D825DFB3F2CEE9876678D8Received on Mon Dec 17 2007 - 05:49:48 CET