mysql 命令

添加列:ALTER TABLE `users` ADD `username` TEXT NOT NULL ,

设置列默认值:

alter   table   表名   modify   字段   类型   default   默认值

alter table LogDataOutput_Task modify CommitLines int default 0;

posted @ 2012-07-20 11:47  ccmaotang  阅读(132)  评论(0)    收藏  举报