UPDATE dbo.PATIENT_CLAIM_837_2000C SET Claim_Status = '00' WHERE Claim_Seq_No = @iClaimSeqNo AND @iClaimPayersCount = @iMatchedPayersCountIs there any reason THAT form is preferable to:
IF @iClaimPayersCount = @iMatchedPayersCount UPDATE dbo.PATIENT_CLAIM_837_2000C SET Claim_Status = '00' WHERE Claim_Seq_No = @iClaimSeqNoThe second form seems more efficient, and it does not fire the trigger if
@iClaimPayersCount <> @iMatchedPayersCountThe first form fires the trigger even if there is no update.