Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Tomchik, Kate wrote:
> Can we add this as a new feature request?
What's wrong with?
DELETE FROM T WHERE PK IN (SELECT PK FROM S)Anyway for those not liking IN or EXISTs a simple extension to MERGE
would provide salvation:
MERGE INTO T USING S ON T.pk = S.pk
WHEN MATCHED THEN DELETE
(http://publib.boulder.ibm.com/infocenter/idshelp/v10/topic/com.ibm.sqls.doc/sqls580.htm)
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.