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


end