Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

select * from tbl1 minus select * from tbl2 is null

112397Jun 2 2009 — edited Jun 2 2009
hi all,
I have 2 tables with the same 8 columns, one column is null from top to bottom.
tbl1 has 60,000 rows, tbl2 has 70,000 rows.
I need to see the 10, 000 rows in tbl2 that are different from the rows from tbl1.
If I execute select * from tbl1 intersect select * from tbl2 I get all 60,000 rows from tbl1.

However, if I execute select * from tbl2 minus select * from tbl1 I get no rows ?

I can't figure out why, can anyone help, please.

Thanks,
kowalsky
This post has been answered by JustinCave on Jun 2 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2009
Added on Jun 2 2009
8 comments
707 views