English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
ALTER COLUMN command is used to change the data type of a column in the table.
The following SQL changes the data type of the 'BirthDate' column in the 'Employees' table to type year:
ALTER TABLE Employees ALTER COLUMN BirthDate year;