qintangtao

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年11月17日

摘要: 修改表的语法=========================增加列[add 列名]=========================①alter table 表名 add 列名 列类型 列参数【加的列在表的最后面】 例:alter table test add username char(20) not null default ''; alter table test add birth date not null default '0000-00-00';②alter table 表名 add 列名 列类型 列参数 after 某列【把新列加在某列后面】 阅读全文
posted @ 2012-11-17 20:03 qintangtao 阅读(40942) 评论(0) 推荐(1)