摘要:
show create table 表名导出表结构:mysqldump -d 数据库 表名 >demo.sql 阅读全文
posted @ 2012-05-29 20:51
tywei
阅读(206)
评论(0)
推荐(0)
摘要:
//主键 alter table tabelname add new_field_id int(5) unsigned default 0 not null auto_increment ,add primary key (new_field_id);//增加一个新列 alter table t2 add d timestamp;alter table infos add ex tinyint not null default '0';alter table infos add ex tinyint not null default '0' after `id` 阅读全文
posted @ 2012-05-29 20:46
tywei
阅读(144)
评论(0)
推荐(0)

浙公网安备 33010602011771号