I'm using Pervasive 2000i SQL with Platinum for Windows. When I try to run the following query, it gets hung up like it is stuck in a loop.
Can anyone tell me what I have done wrong?
SELECT custkey, custname, shipaddr1, invdate, agedate, invno, doctot, reference
FROM "ARHDRH"
where location = 'RAL' and (arhdrh.invno not in (SELECT arhdrh. invno FROM "ARHDRH", "ARTRANH"
where arhdrh.invno = artranh.applytodocno)