F
Frank
Hi there,
I'm trying to create a rather simple query and though it seems to run (no
errors, just an endless wait - 6 hrs so far), it's taking forever and have
not seen a completed result yet.
The [Reference 4] field has up to 100 characters, and in there somewhere is
an ID that is needed to match to the [Item Reference]. There are about 200K
Ref 4 records, and 10K Item Ref records.
SELECT DailyOps.[Case No], DailyOps.Amount, DailyOps.[Case Type],
DailyOps.[Reference 4], [TLM N298].[Item Reference], [TLM N298].[Account
Short code], [TLM N298].[Break Type], [TLM N298].[Item Extra String 10], [TLM
N298].[Account Number]
FROM DailyOps
LEFT JOIN [TLM N298]
ON instr(DailyOps.[Reference 4],[TLM N298].[Item Reference])>0;
Should this be taking this long? does anyone have any ideas on making this
run faster? Does the query look sound?
Thanks for any help.
Frank
I'm trying to create a rather simple query and though it seems to run (no
errors, just an endless wait - 6 hrs so far), it's taking forever and have
not seen a completed result yet.
The [Reference 4] field has up to 100 characters, and in there somewhere is
an ID that is needed to match to the [Item Reference]. There are about 200K
Ref 4 records, and 10K Item Ref records.
SELECT DailyOps.[Case No], DailyOps.Amount, DailyOps.[Case Type],
DailyOps.[Reference 4], [TLM N298].[Item Reference], [TLM N298].[Account
Short code], [TLM N298].[Break Type], [TLM N298].[Item Extra String 10], [TLM
N298].[Account Number]
FROM DailyOps
LEFT JOIN [TLM N298]
ON instr(DailyOps.[Reference 4],[TLM N298].[Item Reference])>0;
Should this be taking this long? does anyone have any ideas on making this
run faster? Does the query look sound?
Thanks for any help.
Frank