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



Right on brother.

However the checking of errors has been rather free and loose even without 
RI.  This just adds more reason to be concerned with some standard error 
processing.  Like, if a chain works, how many people assume that the 
update will work, and ignore the error handling, if they even use one?
Or, if a chain fails, how many people assume it is because the record 
doesn't exist?

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 




"Richard B Baird" <rbaird@esourceconsulting.com>
Sent by: midrange-l-bounces@midrange.com
01/09/2003 03:04 PM
Please respond to Midrange Systems Technical Discussion
 
        To:     Midrange Systems Technical Discussion 
<midrange-l@midrange.com>
        cc: 
        Fax to: 
        Subject:        Switching to SQL - changing the way we've always 
done things (was:SQL    for performance-etc.)



hey all,

All this talk about SQL vs native I/O has got me to thinking.

just a superficial switch to SQL processing (imbedded selects/fetches, 
etc)
doesn't appear to me to have a big advantage over traditional io.  where
you get to the real savings, it seems from reading most of these posts, is
in RI, cascading deletes, triggers, view and index tuning and such.

which begs the question:  how do you implement such a monster, on an
existing application, without a major re-design/re-write of the logic in
nearly all of your programs?

for instance:  what's the good in having RI at the database level when all
your programs still do the 'chain   if not %found, error' routine?

how do you let RI handle the relationship verification, and how do you
inform the user of the errors of his ways?  test for error codes on a
write/update?  most of the code i've seen in the past 20 years is very
specific in the 'enter/edit/if wrong redisplay/if correct write/update'
schema, that it just wouldn't fit if you changed it to enter/write or
update/check for errors, redisplay schema.  I WILL require you to
completely rethink how each and every program is written, and WILL require
major revisions.

this may sound simplistic, but isn't that what we're saying when you
inforce RI at the DB level?

setting up RI for a database does you no good, and probably harms, unless
you make the corresponding application changes.  a daunting task just to
ponder, let alone implement.

Rick

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.