Dear Friend, Below is my SQL Query which run against 30000000 rows and its takes 6 minutes to run indexes are defiened to the all columns used in the where clause as wll as inner join Please help me
SELECT auditData.id,nstmp.ProviderMaster_ID as CDRComment,Auditdata.Calltypetag
from Auditdata AuditData
inner join NoSeriesMaster_temp nstmp on nstmp.NosereisTemp like '91%'
where Auditdata.id in (select id from auditdata_temp1 where tatcalltype is null)
and AuditData.CallTolen=12 and Auditdata.Callto like nstmp.NosereisTemp + '%' and AuditData.AuditMaster_ID=74
thanx in advance