December 14, 2005 at 7:09 am
Hi
Simple I guess but didn't find it :
JV
December 14, 2005 at 7:45 am
I think this is what you mean
UPDATE h
SET h.codsuc = 'AT'
FROM ventven h
INNER JOIN (SELECT l.nofact
FROM vligven l
WHERE l.codart IN ('TOT PPO01Z', 'TOT PPO000Z')
GROUP BY l.nofact
HAVING COUNT(*) = 2) a
ON a.nofact = h.nofact
WHERE h.codnat = 'h'
Far away is close at hand in the images of elsewhere.
Anon.
December 14, 2005 at 8:26 am
simple but great 😉
thx
JV
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply