SyntaxFix
Write A Post
Hire A Developer
Questions
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])