[Opensource] referencial integrity
John Wooten
jwooten3 at csc.com
Mon Sep 29 05:00:40 PDT 2003
Hi Stephen,
For relational databases, the primary key of a record in one table
should tie to the foriegn key of a record in another table. When you need
to delete a record from a database that enforces referential integrity, the
database will not let you perform the delete until you have removed the
record(s) whose foriegn key matches that of the primary key. Otherwise you
would have "Orphan" records with no way to locate them.
Hope this helps.
John Wooten
Computer Sciences Corporation
jwooten3 at csc.com
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"Stephen Marron"
<stephenmarron To: <opensource at jcorporate.com>
@hotmail.com> cc:
Sent by: Subject: [Opensource] referencial integrity
opensource-admin
09/27/2003 09:27
AM
Please respond
to opensource
Hello,
My name is Stephen Marron.
I am currently studying at the Institute of Technology, Sligo, Ireland. I
am doing a degree in Web Development and as part of my course i am doing a
subject called Database Technology!
I am having trouble with this subject as i cannot understand the term
referencial integrity.
If at all possible could you define it for me in one or two lines in simple
terms which might make more sense to me.
Many Thanks.
Regards
Stephen Marron
More information about the Opensource
mailing list