When you create a table in SQL Server using T-SQL, you specify all the columns for that table, along with their data types, any constraints, etc.
But what happens if one day you decide to add a new column to that table? How do you add the new column to the existing table without creating the table again? After all, dropping the table and starting again is usually not an option, as the table will already contain data, and you probably don’t want to have to backup all that data and re-insert it after dropping and creating the table.
The answer is: The ALTER TABLE
statement.