using updating multiple column values using the select statment in sql server code example
Example 1: update multiple columns in sql
UPDATE table-name SET column-name = value, column-name = value WHERE condition = value
Example 2: update query for multiple columns
UPDATE Person.Person
Set FirstName = 'Kenneth'
,LastName = 'Smith'
WHERE BusinessEntityID = 1