android6011 Posted December 7, 2005 Share Posted December 7, 2005 I have a colum in table memberinfo named emailadd . It is only a VARCHAR(25), how can I change it to be like VARCHAR(35)? Quote Link to comment https://forums.phpfreaks.com/topic/3002-increasing-column-size/ Share on other sites More sharing options...
Cook Posted December 8, 2005 Share Posted December 8, 2005 [!--quoteo(post=325460:date=Dec 8 2005, 07:26 AM:name=android6011)--][div class=\'quotetop\']QUOTE(android6011 @ Dec 8 2005, 07:26 AM) 325460[/snapback][/div][div class=\'quotemain\'][!--quotec--] I have a colum in table memberinfo named emailadd . It is only a VARCHAR(25), how can I change it to be like VARCHAR(35)? [!--sql--][div class=\'sqltop\']SQL[/div][div class=\'sqlmain\'][!--sql1--][span style=\'color:blue;font-weight:bold\']ALTER TABLE[/span] `mytable` CHANGE `mycolumn` `mycolumn` VARCHAR(35) [!--sql2--][/div][!--sql3--] Quote Link to comment https://forums.phpfreaks.com/topic/3002-increasing-column-size/#findComment-10076 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.