× 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.



rob@xxxxxxxxx wrote:
Granted, it was a bit harsh. Sorry.

Would you use RI from the OS?
In a new database, I would definitely consider it. I have a few issues with foreign keys that I'd need to address. For example, let's take a situation where a location has a primary item and an item has a primary location. If those fields were both constrained, then you'd have to write one of the records twice, I think. But the benefits you gain from database participation in integrity is hard to dismiss.

I would not, however, retrofit referential integrity onto databases that already have logic built into the applicatio - *unless* there was a compelling business reason to rewrite the application. Which, by the way, might well be the case in a situation where you are converting a traditional green screen application to a service-oriented architecture.

I do, though, draw the line at using techniques that I consider "invasive" - things like constraints or triggers enforcing business rules, for example. I've outlined my position on that in detail. And even then, I suppose that if you could make a business case for it, especially in a new application, I wouldn't begrudge you your decision - just as long as you didn't try to tell me I was wrong or technically backward because I didn't.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.