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? Quote 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] Quote Link to comment https://forums.phpfreaks.com/topic/33816-easy-mysql-question/#findComment-158616 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.