try it
(select * from t1 except select * from t2) union (select * from t2 except select * from t1)
thinking you have the same number of columns in both tables
mentioned above, select identifiers from #two EXCEPT, select id from #one will give u inappropriate lines from #two. he will neglect that of #one
Kuntady nithesh
source share