I need to update some columns in my table row. For this I write a stored procedure and there is key code below. I want to check that @Title or @Descriptions are not NULL and in this case update this data. What is a best practice for such situations?
UPDATE configuration
SET Title = @Title,
Description = @Description,
ShowHeader = @ShowHeader,
XmlConfiguration = @XmlConfiguration
WHERE Id = @Id
EDIT:
Let's imagine that the Title is not null but description is null. In this case I want to update only title and save the description without changes. Is it possible?