Update one of the value in Xml column of a table
UPDATE qf.ReceptionPoint
SET SessionParameters.modify('
replace value of (/Parameters/Parameter[@name="TotalPages"]/text())[1]
with sql:variable("@l_TotalPages")
')
WHERE ReceptionPointId = @ReceptionPointId