
11-16-2003, 11:44 PM
|
|
Newcomer
|
|
Join Date: Aug 2002
Location: Malaysia
Posts: 18
|
|
SQL statement slow
|
i have two table, 1st contain 40,000++ record, 2nd contain 13,000 record, i wrote a statement
SELECT id FROM table1 WHERE id NOT IN (SELECT id FROM table2)
When i run this statement, it takes about 25 minute to show the result, anyone got any idea to use other way to retrieve the data.......
thank you
|
__________________
Sincere,
thiamhong :)
|