I have two databases and I want to automate a process to find duplicates. I originally linked the table from one into the other but I have now gone down the route of importing the table from one db into the main one because it was running too slow.
Now I have imported the table I am still getting a very slow response from the query. I have tried numerous routes i.e. update, make table and even select and it is till slow. The query I am running is (will example update mode)
UPDATE tbmaindata SET tbmaindata.InCh ineseDB = "Y"
WHERE left(tbmaindata .add1,6) & tbmaindata.post code = left(tbmaindata 1.add1,6) & tbmaindata1.pos tcode;
This query no matter how I seem to do it whether it be like the example or using various queries to get the result is really slow and this process need to be automated every time the db is opened. This would take forever.
All I want to do is confirm the existence of certain records in another db. I was going to achieve this by using a macro to import the table, run query to update a column and then delete the imported table.
Can someone please help me speed this process up or point out if there is something amiss with my query.
Thanks in advance
Dave
Now I have imported the table I am still getting a very slow response from the query. I have tried numerous routes i.e. update, make table and even select and it is till slow. The query I am running is (will example update mode)
UPDATE tbmaindata SET tbmaindata.InCh ineseDB = "Y"
WHERE left(tbmaindata .add1,6) & tbmaindata.post code = left(tbmaindata 1.add1,6) & tbmaindata1.pos tcode;
This query no matter how I seem to do it whether it be like the example or using various queries to get the result is really slow and this process need to be automated every time the db is opened. This would take forever.
All I want to do is confirm the existence of certain records in another db. I was going to achieve this by using a macro to import the table, run query to update a column and then delete the imported table.
Can someone please help me speed this process up or point out if there is something amiss with my query.
Thanks in advance
Dave
Comment