Re: Proving an Upgrade is Possible
Date: Sun, 05 Jun 2005 07:06:47 GMT
Message-ID: <bwxoe.3079$F7.1738_at_news-server.bigpond.net.au>
"Kenneth Downs" <knode.wants.this_at_see.sigblock> wrote in message
news:8vq8n2-0ek.ln1_at_pluto.downsfam.net...
> Jan Hidders wrote:
> My goal is to always know completely whether all structure changes to a db
> are valid.
>
> Here is a case of where you can prove an upgrade will fail, or at least
> you
> cannot prove it will succeed. If the WIDGETS table currently has a unique
> constraint on COL_A, COL_B, and COL_C, we know that an upgrade (or any
> change to the database) can fail if the new version has the unique
> constraint only on COL_A and COL_B. While it may succeed in some cases,
> it
> will fail in others.
Only a test-conversion will tell you that. This is not to say that "proving the schema upgrade is possible" ---- at the schema level alone ---- is not a worthwhile step in the upgrade path, as in the end you need to know about any failure, hopefully in advance.
-- Pete Brown IT Managers & Engineers Falls Creek Australia www.mountainman.com.au/softwareReceived on Sun Jun 05 2005 - 09:06:47 CEST