Change variable type mysql with existing data -
hi i've got variable 'text' within mysql database gathers status update. believe variable has limit of 200?
is set?
if variable suitable both quick 150 character updates long 1500 word article if user wanted elaborate?
- how change within phpmyadmin desired new variable if data present within present form?
http://dev.mysql.com/doc/refman/5.6/en/string-type-overview.html
varchar
a variable-length string. m represents maximum column length in characters. range of m 0 65,535.
text
a text column maximum length of 65,535 (216 – 1) characters.
i thinking both varchar(1500) , text(1500) ok you.
how change within phpmyadmin desired new variable if data present within present form?
to change data type of column, use sql, work in tools.
alter table `tablename` change `colname` varchar( 1500 );
Comments
Post a Comment