Subject | Re: How to mimic an UPDATE with a JOIN |
---|---|
Author | robert_difalco |
Post date | 2005-07-07T00:50:36Z |
--- In firebird-support@yahoogroups.com, Lucas Franzen <luc@r...> wrote:
but I most have done something to make it uncorrelated. This works great.
R.
>This is just what I needed Lucas, thanks! I had tried this initially
> UPDATE Versions SET
> Versions.DATA=-1,
> Versions.ATTRIBS=-1
> WHERE EXISTS
> ( SELECT * FROM Elems
> WHERE Versions.ELEM_ID=Elems.ID AND
> Versions.ID <> Elems.GOLDEN_ID AND
> Versions.NUM <= Elems.LAST_VER_NUM - 3
> );
but I most have done something to make it uncorrelated. This works great.
R.