DELETE T1 FROM [dbo].[GEBOS_Activity_Type] T1 
INNER JOIN [temp].[GEBOS_Activity_Type] T2 
ON T1.[ActivityTypeNr] = T2.[ActivityTypeNr] 
GO

INSERT INTO [dbo].[GEBOS_Activity_Type]
SELECT T1.* FROM [temp].[GEBOS_Activity_Type] T1
GO
