in reply to Re^2: Efficient search through a huge dataset
in thread Efficient search through a huge dataset
Millions of records? Not true at all!
You can do simply one query, say you want to find out all records that are in table1 but not table2, then you can either:
select blah from table1 t1 where not exists (select 1 from table2 t2 where t1.blah = t2.blah )
Or (if munus is supported):
select blah from table1 minus select blah from table2
It should be easy for you to modify the query a bit to satisfy your needs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Efficient search through a huge dataset
by dragonchild (Archbishop) on Oct 20, 2004 at 02:54 UTC | |
by Corion (Patriarch) on Oct 20, 2004 at 11:39 UTC | |
by dragonchild (Archbishop) on Oct 20, 2004 at 13:28 UTC |