|
Paul
You caught me out!
I had simplified what I really wanted to achieve - not
expecting the solution to be recast into the new SQL format (which I just don't
seem to be able to follow)
What I really wanted to do was this (in
pseudocode)
Delete from SaleREF s
where (s.CustCode, s.DestCode) not in
(select distinct (CustCode, DestCode) from
CustDest)
I'm sorry but I can't pick how I need to change your code to
achieve this.
Mark
----- Original Message -----
|
- [DUG-DB]: SQL poser Mark Howard
- RE: [DUG-DB]: SQL poser Paul Ritchie
- Re: [DUG-DB]: SQL poser Mark Howard
- Re: [DUG-DB]: SQL poser Seth Wagoner
- Re: [DUG-DB]: SQL poser Mark Howard
- Re: [DUG-DB]: SQL poser Seth Wagoner
