boo_lolly Posted January 11, 2007 Share Posted January 11, 2007 i have a database table, one of the columns is set to CHAR(20)... how do i change it to CHAR(30) using the mysql command line? Link to comment https://forums.phpfreaks.com/topic/33816-easy-mysql-question/ Share on other sites More sharing options...
fenway Posted January 11, 2007 Share Posted January 11, 2007 [code]ALTER TABLE yourTable MODIFY COLUMN yourColumn CHAR(30)[/code] Link to comment https://forums.phpfreaks.com/topic/33816-easy-mysql-question/#findComment-158616 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.