Home Forums Article Discussions Article Discussions by Author Discuss content posted by Douwe Miedema Show content differences between two tables/views RE: Show content differences between two tables/views
dj.miedema
SSC Enthusiast
Points: 121
More actions
October 16, 2008 at 2:42 am
#885684
You could try,
select *
into D
from A
where not exists (select 'x' from C where C.key=A.key)
union
from B
where not exists (select 'x' from C where C.key=B.key)