Mysql常見命令

1 創建數據庫 create database + 數據庫名 + 字符集設定 e.g.  create database test charset gbk; 2 修改表 修改表名,基本語法:rename table 舊錶名 to 新表名; 修改表選項,基本語法:alter table + 表名 + 表選項[=] + 值; 表中新添字段 alter table 表名 操作 字段名 字段位置 表中修改
相關文章
相關標籤/搜索