Mysql Basic

时间:2014-03-03 17:00:48   收藏:0   阅读:452

Mysql Basic

1、在表hd_wish中添加字段time

alter table hd_wish add column time int(10) not null default 0;

 

2、修改字段的长度等相关信息(原来content列的长度是200,null,无默认值)

alter table hd_wish modify content varchar(255) not null default ‘‘;

Mysql Basic,布布扣,bubuko.com

原文:http://www.cnblogs.com/la-isla-bonita/p/3577395.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!