Home > Database > Mysql Tutorial > mysql增加列,修改列名、列属性,删除列语句_MySQL

mysql增加列,修改列名、列属性,删除列语句_MySQL

WBOY
Release: 2016-06-01 13:41:58
Original
1323 people have browsed it

bitsCN.com mysql增加列,修改列名、列属性,删除列语句 mysql修改表名,列名,列类型,添加表列,删除表列   alter table test rename test1; --修改表名   alter table test add  column name varchar(10); --添加表列     alter table test drop  column name; --删除表列   alter table test modify address char(10) --修改表列类型  ||alter table test change address address  char(40)   alter table test change  column address address1 varchar(30)--修改表列名   作者 charlesdong1989 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