Re: SQL Update with a Join Syntax
From: --CELKO-- <jcelko212_at_earthlink.net>
Date: 7 Aug 2004 16:39:41 -0700
Message-ID: <18c7b3c2.0408071539.58aa8bdc_at_posting.google.com>
Date: 7 Aug 2004 16:39:41 -0700
Message-ID: <18c7b3c2.0408071539.58aa8bdc_at_posting.google.com>
UPDATE NameInfo
SET NameInfo.flag = 'OK'
WHERE NameInfo.lastname = 'Smith'
AND EXISTS
(SELECT * FROM AddressInfo AS A1 WHERE A1.civic_id = NameInfo.civic_id AND A1.town = 'Moncton');
Read the other posting about the proper syntax for an UPDATE. Received on Sun Aug 08 2004 - 01:39:41 CEST