create trigger dddd
on tablea
for update
as 
begin
insert tableb select * from inserted
go