	declare @configurationGroupIdJobParameters int
		--	Fill the group instance
	DECLARE @ConfigurationGroupParameters TABLE (GroupId int NOT NULL,ParameterId int not null, Value nvarchar(max));

	-- FtpManagerFileSetterTimerJob interval 
	select @configurationGroupIdJobParameters = id from ConfigurationGroups where guidkey='C5B9D0C4-C987-462A-AD93-A1A8CA73F6E2'
	INSERT into @ConfigurationGroupParameters ( GroupId, ParameterId, Value) VALUES	( @configurationGroupIdJobParameters, 18, N'10') --Interval 10 seconds

	-- PanelCommandManagerTimerJob interval
	select @configurationGroupIdJobParameters = id from ConfigurationGroups where guidkey='5B58437E-06B0-4E10-BFF4-214F686EAE6E'
	INSERT into @ConfigurationGroupParameters ( GroupId, ParameterId, Value) VALUES	( @configurationGroupIdJobParameters, 18, N'10') --Interval 10 seconds

	-- FtpManagerFileUpdaterTimerJob interval
	select @configurationGroupIdJobParameters = id from ConfigurationGroups where guidkey='E776782E-5278-4BDF-95AC-1E6523E7B634'
	INSERT into @ConfigurationGroupParameters ( GroupId, ParameterId, Value) VALUES	( @configurationGroupIdJobParameters, 18, N'10') --Interval 10 seconds

		MERGE INTO dbo.ConfigurationGroupParameters AS TARGET  
			USING @ConfigurationGroupParameters AS SOURCE  
			ON TARGET.GroupId  = SOURCE.GroupId
			AND TARGET.ParameterId =  SOURCE.ParameterId
			WHEN MATCHED THEN    
					UPDATE SET Value=source.Value
			WHEN NOT MATCHED BY TARGET THEN   
					INSERT ( GroupId,ParameterId,Value) VALUES (Source.GroupId, SOURCE.ParameterId,source.Value)  
	OUTPUT $action, SOURCE.*;

