Hi i have exactly same two datables in two seperate databases and i want to compare the two tables and get teh rows which are not in second table
I tried to use
select * from t1, t2
where t1.c1 <>t2.c1 and t1.c2 <>t2.c2
but this query is returning too many rows atleast 4 times the number of original rows
then i tried
select * from t1 minus select * from t2 it returned wrong results
Can anyone help in this one.
Thanks for ur help in advance
regards,
king
I tried to use
select * from t1, t2
where t1.c1 <>t2.c1 and t1.c2 <>t2.c2
but this query is returning too many rows atleast 4 times the number of original rows
then i tried
select * from t1 minus select * from t2 it returned wrong results
Can anyone help in this one.
Thanks for ur help in advance
regards,
king