update sql set multiple columns code example
Example 1: sql server update multiple columns at once
UPDATE Person.Person
Set FirstName = 'Kenneth'
,LastName = 'Smith'
WHERE BusinessEntityID = 1
Example 2: update multiple columns in sql
UPDATE table-name SET column-name = value, column-name = value WHERE condition = value