Re: OO versus RDB
Date: 27 Jun 2006 08:17:19 -0700
H. S. Lahman wrote:
> Responding to mAsterdam...
> > A schema change breaks a query or it doesn't.
> > If it doesn't all is well.
> > If it does you'll have to investigate the code
> > dependent on the query.
> It breaks the query, but not the problem solution that needs the data.
This sounds sensible, but isn't. Any schema-change breakage will affect both query and code. If a queried column is deleted, the query will need changing, but also the code has to reconsider what it will do in the absence of the column.
Code cannot escape being coupled to its logical schema.
Marshall Received on Tue Jun 27 2006 - 17:17:19 CEST