IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[mps_customer3_delete]') AND type = 'TR')
DROP TRIGGER [dbo].[mps_customer3_delete]
GO
CREATE  trigger mps_customer3_delete on mps_customer3 for delete as
begin
   insert into mps_sync(sk_type,sk_bizid,sk_tag2,sk_operation,sk_objid) 
   select 2,cc_ctid,0,-1,cc_id from deleted 


end