alter multiple columns sql code example
Example 1: add multiple columns to table sql
//Example
ALTER TABLE employees
ADD last_name VARCHAR(50),
first_name VARCHAR(40);
Example 2: sql server update multiple columns at once
UPDATE Person.Person
Set FirstName = 'Kenneth'
,LastName = 'Smith'
WHERE BusinessEntityID = 1
Example 3: update multiple columns in sql
UPDATE table-name SET column-name = value, column-name = value WHERE condition = value
Example 4: add multiple columns to table sql
ALTER TABLE table_name
ADD column_1 column_definition,
column_2 column_definition,
...
column_n column_definition;