williamkremer
Programmer
- Oct 27, 2005
- 61
Hi all -- this query hangs forever, so I don't know if it is the hardware (512 mb RAM) or the query.
********************************
select count(*) from contact1 c1
where c1.accountno not in (select accountno from conthist)
and c1.accountno not in (select accountno from cal)
and c1.createon not in (select createon from contact1 where c1.createon not like '%2004%' or c1.createon not like %2005%')
********************************
Am I creating one of cartesian suckers?
Thanks in advance..
Bill
********************************
select count(*) from contact1 c1
where c1.accountno not in (select accountno from conthist)
and c1.accountno not in (select accountno from cal)
and c1.createon not in (select createon from contact1 where c1.createon not like '%2004%' or c1.createon not like %2005%')
********************************
Am I creating one of cartesian suckers?
Thanks in advance..
Bill