Anyone tell me how to do a delete the same as below
delete from tblThis where tblThis.clientID not in (select tblThat.clientID from tblThat)
perhaps using a left join or something?? thing is, the above SQL takes 5mins to run on 20,000 records in tblThis and tblThat.....
???
delete from tblThis where tblThis.clientID not in (select tblThat.clientID from tblThat)
perhaps using a left join or something?? thing is, the above SQL takes 5mins to run on 20,000 records in tblThis and tblThat.....
???
Comment