Subject | Re: problem with converting tables |
---|---|
Author | Ali Gökçen |
Post date | 2005-07-15T10:15:35Z |
Hi Mat,
update correspondence
set arc = 1
where exists (select 1 from correspondencelog where
correspondence_id=correspondence.id and arc = 1);
Regards.
Ali
>correspondencelog
> update correspondence
> set arc = 1 where id in (select correspondence_id from
> where arc = 1);try this:
update correspondence
set arc = 1
where exists (select 1 from correspondencelog where
correspondence_id=correspondence.id and arc = 1);
Regards.
Ali