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.
Doug Agnew — — source: Informix-list mailing list archive (1991-1998)
try:
select * from a where not exists (select * from b where b.x=a.x and b.y=a.y)
HTH
Doug
Geoffrey Poole wrote in message <7hc5vo$5om$1@news.xmission.com>...
>
>What is the easiest way to write the following SQL :-
>
>select * from a where (x,y) not in (select x,y from b);>
>I've a foreign key constraint on 2 columns that has failed to build so
>I'm trying to find the offending rows.
>Geoff Poole
>geoffrey.poole@ogs.co.uk
>
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.