happyIndian100
Programmer
Please Help,
The below query is taking me 1 min 30 secs to execute.
can any body help me to optimise the below query...
INSERT INTO dbo.Table1
SELECT * FROM Table2
WHERE
AccNo NOT IN
(select distinct AccNo from dbo.Table1
OR
Location NOT IN
(select distinct Location from dbo.Table1
Thanks in advance
--Happy
The below query is taking me 1 min 30 secs to execute.
can any body help me to optimise the below query...
INSERT INTO dbo.Table1
SELECT * FROM Table2
WHERE
AccNo NOT IN
(select distinct AccNo from dbo.Table1
OR
Location NOT IN
(select distinct Location from dbo.Table1
Thanks in advance
--Happy