hello!
how do you select records from table A that does not exist in table B?
i use SQL command like :
SELECT * FROM XA A WHERE NOT EXISTS (SELECT checkno FROM XM B WHERE a.checkno=b.checkno .AND. a.agycode=b.agycode .AND. a.brcode=b.brcode)
that works well but it is taking too long, like more than 5 mins.
both tables have the same structure, each has more than 50,000 records. im using foxpro for windows 2.6 on a win 98.
any help?