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:
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:
If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:
support@w3schools.com
Your message has been sent to W3Schools.