Subject | Re: Selects and Updates based on sub-queries |
---|---|
Author | csswa |
Post date | 2002-05-07T17:24:23Z |
--- In ib-support@y..., Helen Borrie <helebor@t...> wrote:
records will be set to flag = -1 ;-)
Regards,
Andrew Ferguson
-- Infinity squared, and then some.
> UPDATE TABLE1 SET FLAG = -1Don't use this in SQL, though. If one record matches, all table1
> WHERE (EXISTS (SELECT RECNO FROM TEMP_TABLE))
records will be set to flag = -1 ;-)
Regards,
Andrew Ferguson
-- Infinity squared, and then some.