OK, I've spent about an hour trying to figure this out.  SQL does not like
the following statement:

DELETE FROM PODTL WHERE (VNDNR, WEEKX, DIGIT) NOT IN               
                        (SELECT (VNDNR, WEEKX, DIGIT) FROM POHDR);

I did this identical thing a half dozen times yesterday *EXCEPT* there was
only one field name to match on, not 3.  I've looked at manuals and googled.
I've tried with/without parens, with/without commas to no avail.  All the
examples I find do it on only one field.

What's wrong with the syntax?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.