SQL ALTER TABLE Statement
SQL ALTER TABLE Statement
HTML
Menu Log in
Example
Try it Yourself »
Example
Try it Yourself »
ALTER TABLE -
ALTER/MODIFY COLUMN
To change the data type of a column in a
table, use the following syntax:
ADVERTISEMENT
a Timoteivn Sandnes
10
ve Borgvn Sandnes
23
ri Storgt 20 Stavanger
Exercise:
Add a column of type DATE called
Birthday .
Persons
;
Submit Answer »
‹ Previous Next ›
ADVERTISEMENT
NEW
We just launched
W3Schools videos
Explore now
COLOR PICKER
Get certified
by completing
a SQL
course today!
school
w3 s
2
CE
02
TI 2
R
FI
ED .
Get started
CODE GAME
Play Game
ADVERTISEMENT
Report Error
Forum
About
Buy Certificate
Top Tutorials
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
How To Tutorial
SQL Tutorial
Python Tutorial
W3.CSS Tutorial
Bootstrap Tutorial
PHP Tutorial
Java Tutorial
C++ Tutorial
jQuery Tutorial
Top References
HTML Reference
CSS Reference
JavaScript Reference
SQL Reference
Python Reference
W3.CSS Reference
Bootstrap Reference
PHP Reference
HTML Colors
Java Reference
Angular Reference
jQuery Reference
Top Examples
HTML Examples
CSS Examples
JavaScript Examples
How To Examples
SQL Examples
Python Examples
W3.CSS Examples
Bootstrap Examples
PHP Examples
Java Examples
XML Examples
jQuery Examples
Web Courses
HTML Course
CSS Course
JavaScript Course
Front End Course
SQL Course
Python Course
PHP Course
jQuery Course
Java Course
C++ Course
C# Course
XML Course
Get Certified »