Concept : Enabling the trigger on first table and enabling the CT on other table to get the table data inserted. /* On first table */ CREATE TRIGGER [dbo].[InsertReportedsoftwareimages] ON [dbo].[ReportedSoftwareImages] AFTER INSERT AS IF @@ROWCOUNT > 0 BEGIN TRY; SET NOCOUNT ON ; -- dbo.SoftwareBuildRecords -------------- MERGE dbo.SoftwareBuildRecords AS tgt USING (SELECT t.[Changerequestid],t.[softwareimageBuild],t.[softwareimagename], t.IsFoundOnSoftwareImage FROM INSERTED t inner join dbo.ChangeRequests_ProblemReport problemReports ON t.ChangeRequestId = problemReports.Id and t.IsFoundOnSoftwareImage=1) as src ON ( tgt.[Changerequestid] = src.[Changerequestid] and tgt.softwareimagename = src.softwareimagename ) WHEN NO...