create table A(DWDM int)
insert A select 12
union all select 10
union all select 45
union all select 20
go
create table B(DWDM int)
insert B select 12
union all select 10
union all select 45
union all select 20
union all select 23
union all select 25
go
insert A
select DWDM from B as tmp
where not exists(select 1 from A where DWDM=tmp.DWDM)