摘要: 1 安装时将字符集设为gbk2 查看有哪些数据库 show databases 查看有哪些表 show tables 查看当前用户 select user()3 更改字段名称 alter table table_name change col_old col_new varchar(10)(属性) 更改字段属性 alter tabel table_name modify col_name varchar(10)(属性) 添加字段 alter table table_name add col_name NOT ... 阅读全文
posted @ 2014-03-16 15:41 aldin 阅读(110) 评论(0) 推荐(0) 编辑