	
	--UserSettingsTypes
	DECLARE @UserSettingsTypes TABLE (RowId uniqueidentifier NOT NULL,[Name] [nvarchar](500) NOT NULL,SettingsType int NOT NULL);

	INSERT into @UserSettingsTypes (RowId, [Name], SettingsType) VALUES ('233083B7-1905-4A1F-8DA2-975EA35A60FC', N'MFAEnabled',3);

	INSERT into @UserSettingsTypes (RowId, [Name], SettingsType) VALUES ('5031F15D-0DC3-43A5-84CA-6D0723BD815A', N'MFADefaultSendingMethod',3);
	

	MERGE INTO dbo.[UserSettingsTypes] AS TARGET  
		USING @UserSettingsTypes AS SOURCE  
		ON TARGET.RowId = SOURCE.RowId	
		WHEN MATCHED THEN    
			UPDATE SET	[Name] = SOURCE.[Name],
						[SettingsType] = SOURCE.[SettingsType]
		WHEN NOT MATCHED BY TARGET THEN   
			INSERT (RowId, [Name], SettingsType) VALUES (SOURCE.RowId, SOURCE.[Name], SOURCE.SettingsType)  
	OUTPUT $action, SOURCE.*;