Re: Databases as objects
- From: frebe73@xxxxxxxxx
- Date: 28 Dec 2006 23:45:40 -0800
In that case, at least, sum() is how we do it.RA is great, but it proves only structural (relational) correctness. If
there's an algebra for network databases then it could prove structural
(network) correctness as well. I think both are good things.
In addition to structural correctness we can test for semantic
correctness. In banking systems one way to do that is to compare all
the debit and credit accounts to make sure they net $0.
Why wouldn't relational algebra be able to do that? A simple select
sum() would solve the problem.
Sum is a standard aggregate function availible in relational algebra.
(It is also possible to define custom functions, if needed, and use
them in RA expressions.) Why can RA not be used for evaluating semantic
correctness?
Fredrik Bertilsson
http://frebe.php0h.com
.
- References:
- Re: Databases as objects
- From: frebe73
- Re: Databases as objects
- From: Thomas Gagne
- Re: Databases as objects
- Prev by Date: Re: avoid cast to derived
- Next by Date: Re: double-entry bookkeeping unneeded?
- Previous by thread: Re: Databases as objects
- Next by thread: OT: NC Product Design Directoy (www.ncproductdesign.com) Help Requested
- Index(es):
Relevant Pages
|