Simple question for the guru's...
2 tables:
table_a – 8mm records
table_b – 1mm records
They each have the same table structure. I need to create a table with every row in table_a that is NOT in table_b.
Since each row (all columns) acts as the “key” I’m selecting all fields concatenated together…unfortunately the hash_aj hint will not work this way. My query has been running for like 11 hrs!
What's a better option?
Thanks in advance.
2 tables:
table_a – 8mm records
table_b – 1mm records
They each have the same table structure. I need to create a table with every row in table_a that is NOT in table_b.
Since each row (all columns) acts as the “key” I’m selecting all fields concatenated together…unfortunately the hash_aj hint will not work this way. My query has been running for like 11 hrs!
What's a better option?
Thanks in advance.