Yeah, that was me on ALUMINIUM
. I noticed ALUMINIUM started to struggle so I moved tesing to my desktop. (Should have done so in the first place).
I am not really sure, but isn't indexing only useful for SELECT statments? I thought it doesnt provide any benefits for UPDATE querys. Please correct me if I am wrong though.
I am getting close. The two flowing querys work in showing all the records where the code matches in the two tables. But they both have different output, I cant discover what the differences is 
Code:
SELECT `code` FROM `table1` WHERE EXISTS(SELECT `code` FROM `table2`)
Code:
SELECT * FROM `table1` A, `table2` B
WHERE B.`code` = A.`code`
So I am searching for a query that only shows the records in table1 that contain codes who do not match in table2.
I thuoght that would be easy, just change WHERE EXISTS to WHERE NOT EXISTS or WHERE B.`code` = A.`code` in to WHERE B.`code` != A.`code`. But that doenst seem to work.
Any one any pointers?
Bookmarks