Home > Database > Mysql Tutorial > mysql修改表、列编码_MySQL

mysql修改表、列编码_MySQL

WBOY
Release: 2016-06-01 13:32:01
Original
1348 people have browsed it

bitsCN.com

mysql修改表、列编码

 

-- 修改表编码ALTER TABLE  `uc_users_bak` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
Copy after login

-- 修改列编码ALTER TABLE  `uc_users_bak` CHANGE  `nick_name`  `nick_name` VARCHAR( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
Copy after login

 

 

bitsCN.com
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template