Id bruge coalesce til dette:http://msdn.microsoft.com/en -us/library/ms190349.aspx
update Person
set Car = coalesce(@Car, Car), HairColour = coalesce(@HairColour, HairColour)
Id bruge coalesce til dette:http://msdn.microsoft.com/en -us/library/ms190349.aspx
update Person
set Car = coalesce(@Car, Car), HairColour = coalesce(@HairColour, HairColour)