I have an update statement in a stored procedure that looks generally like this:
Update [TABLE_NAME] Set XYZ=@ABC
Is there a good way to only t
Another approach when you have many updates would be to use COALESCE:
UPDATE [DATABASE].[dbo].[TABLE_NAME] SET [ABC] = COALESCE(@ABC, [ABC]), [ABCD] = COALESCE(@ABCD, [ABCD])