<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
"Jackson, Harry" wrote:
<blockquote TYPE=CITE> 
<p><font face="Arial"><font size=-1>I am trying to implement a database
and thought that with all the hype MySQL gets that I could do it on that.
Much to my dismay I have just noticed that.</font></font>
<p><font face="Arial"><font size=-1>1. No method for referential Integrity.</font></font>
<p><font face="Arial"><font size=-1>Fair enough no referential integrity
I'll use stored procedures to enforce some kind of logic. No wait</font></font>
<p><font face="Arial"><font size=-1>2. No Stored Procedures</font></font>
<p><font face="Arial"><font size=-1>Has anybody else been flummoxed by
this. Writing application code to enforce all the referential integrity
of a database is a bit of a half arsed way of going about things. I notice
that there is a Perl implementation, great, bolt on integrity.</font></font>
<p><font face="Arial"><font size=-1>Harry</font></font>
<p><font face="Arial"><font size=-1>(Bruce! If you say anything like, I
told you so, or, You should have listened!!!, You will find out what the
infamous "Bung Ring Expander" is used for.)</font></font>
<br> 
<p><tt><font size=+0>*************************************************************************************</font></tt>
<br><tt><font size=+0>COLT Telecommunications</font></tt>
<br><tt><font size=+0>Registered in England No. 2452736</font></tt>
<br><tt><font size=+0>Registered Office: Bishopsgate Court, 4 Norton Folgate,
London E1 6DQ</font></tt>
<br><tt><font size=+0>Tel. +44 20 7390 3900</font></tt>
<p><tt><font size=+0>This message is subject to and does not create or
vary any contractual</font></tt>
<br><tt><font size=+0>relationship between COLT Telecommunications, its
subsidiaries or</font></tt>
<br><tt><font size=+0>affiliates ("COLT") and you. Internet communications
are not secure</font></tt>
<br><tt><font size=+0>and therefore COLT does not accept legal responsibility
for the</font></tt>
<br><tt><font size=+0>contents of this message. Any view or opinions expressed
are those of</font></tt>
<br><tt><font size=+0>the author. The message is intended for the addressee
only and its</font></tt>
<br><tt><font size=+0>contents and any attached files are strictly confidential.
If you have</font></tt>
<br><tt><font size=+0>received it in error, please telephone the number
above. Thank you.</font></tt>
<br><tt><font size=+0>*************************************************************************************</font></tt></blockquote>
Finding that I didn't understand the term 'referential integrity' I did
a google search and found that <<A HREF="http://techdocs.postgresql.org/college/002_referentialintegrity/">http://techdocs.postgresql.org/college/002_referentialintegrity/</A>>
gives a very nice demo of what it means. It is what I imagined, they use
a number as an id for each record. Postgresql, if asked nicely, will add
a unique number to a column in the table each time a new record is entered
- I know this cos I've used it. Unfortunately I lost all my data and the
Perl/Tk scripts that controlled record entries, using the auto number facilty,
when I had a backup bŁ$$sup.
<br>Les</html>