bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL ALTER COLUMN Keyword

Alter Column

The ALTER COLUMN command is used to change the data type of a column in a table.

The following SQL changes the data type of the column named "BirthDate" in the "Employees" table to type year:

Example

ALTER TABLE Employees
ALTER COLUMN BirthDate
 year;

Previous

SQL ALTER Keyword

Next

SQL ALTER TABLE Keyword