× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This is certainly true.  Well, almost true: the primary and foreign keys
are certainly defined, they're just not identified to the RDBMS.  In the
bad old days before triggers and constraints, we didn't worry about
these things because it was all taken care of in the program anyway.

You only need those things identified if you are trying to implement
some of the more advanced RDBMS features such as cascading deletes and
updates and constraints to avoid orphans.  Personally, I'm about 50/50
on those; they're nice, but almost as easy to write myself provided I
follow the simple rule of only one program to update the database.
Plus, with your own program, you can implement performance tweaks like
submitting a cascaded delete to batch while letting the primary program
continue on.

Joe

> From: Wilt, Charles
> 
> For a relational DB to be managed by a relational DBMS, there have to
be
> relationships between the data defined.  All too often, DBs on the
iSeries
> don't have primary and foreign keys defined.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.