CREATE PROCEDURE [dbo].[dt_user_copy_web_guestbook] AS
insert into web_guestbook(id,name,Email,subject,content,time_ly,tel,gzd_bh,type_l,type_s)
select id,name,Email,subject,content,time_ly,tel,gzd_bh,type_l,type_s
from [61.50.155.211].crm.dbo.guestbook
where id not in (select id from web_guestbook)
insert into web_guestbook(id,name,Email,subject,content,time_ly,tel,gzd_bh,type_l,type_s)
select id,name,Email,subject,content,time_ly,tel,gzd_bh,type_l,type_s
from [61.50.155.211].crm.dbo.guestbook
where id not in (select id from web_guestbook)