|
Really? If you can write code to do it, and that rule could be done, you can build it into the database with referential constraints and triggers.
The CRUD would need to react to error conditions and act accordingly.
Now that said, most databases have not been designed with that in mind relying instead on programs (pick your language at will) to do all of that instead. Doesn't mean it can't be done by a developer ( as opposed to a programmer that just turns specs into code) who takes the time to think it through.
That's called software engineering.
Jim Oberholtzer
Agile Technology Architects
On Nov 8, 2018, at 7:19 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:
My first eye-opening experience with business rules was the rule "Anyone who took care of Mr Kelly's car during the depression gets a nickle an hour above the union rate." That happened to be one guy. But there had to be a rule. How does one put that rule in the database?
On 11/8/2018 7:35 PM, Jim Oberholtzer wrote:--
That's what a properly designed database does, enforce business rules with constraints and relational integrity built in. It's not that hard to build.
Jim Oberholtzer
Agile Technology Architects
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
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.