change table column charset in mysql - Mysql Views : 398
Tagged in : Mysql
0 0
Send mail
change table column charset in mysql:


Whenever you create a table in mysql database, it takes default charset "latin1_swedish_ci". Hence to change table column charset in mysql use Alter command as,

ALTER TABLE tablename CHANGE `fieldname` `fieldname` datatype CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL
By Ramya, On - 2010-12-03



    Login to add Comments .