Hi I am a newbie in SQL and require help I have a parameterized stored procedure which contains a Update query like...
UPDATE sometable
SET
price1 = @param1,
price2 = @param2,
price3 = @param3,
price4 = @param4,
WHERE
ID = @param5
Now when I execute this SP by setting any of the parameters value as NULL it gets updated in DB, what I want to know is if one of the parameters value is NULL then can we retain that columns original value in DB instead of updating it with NULL.