首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > alter table tbl_name add col_name type 例如,给表增加一列weight mysql>alter table...

alter table tbl_name add col_name type 例如,给表增加一列weight mysql>alter table...

  • 资源大小:99.93 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Java Develop java 例如 加一

资 源 简 介

alter table tbl_name add col_name type 例如,给表增加一列weight mysql>alter table pet add weight int 删除列 alter table tbl_name drop col_name 例如,删除列weight: mysql>alter table pet drop weight 改变列 alter table tbl_name modify col_name type 例如,改变weight的类型: mysql> alter table pet modify weight samllint 另一种方法是: alter table tbl_name change old_col_name col_name type 例如: mysql> alter table pet change weight weight samllint 给列更名 mysql>alter table pet change weight wei 给表更名 alter table tbl_name rename new_tbl 例如,把pet表更名为animal mysql>alter table pet rename animal -alter table tbl_name add col_name type for example, to form an increase in weight mysql> alter table pet add weight int Remove Columns alter table tbl_name drop col_name For example, the deletion of column weight: mysql> alter table pet drop weight change out alter table tbl_name modify col_name type for example, the type of weight change: mysql> alter table pet modify w

文 件 列 表

Struts 2中实现文件下载(修正中文问题).docx
VIP VIP
0.170773s