Hiiii,
What is difference between Update and Alter commands?
Hiiii,
What is difference between Update and Alter commands?
Update changes data in a table
Alter changes the metadata of the table (e.g. column definitions)
ALTER
is a DDL statement used to update the structure of the table.
UPDATE
is a DML statement used to update data.
Sounds like an interview question to quickly find out if someone can actually spell "T-SQL".