摘要: ALTER TABLE:添加,修改,删除表的列,约束等表的定义。查看列:desc 表名;修改表名:alter table t_book rename to bbb;添加列:alter table 表名 add column 列名 varchar(30);删除列:alter table 表名 drop column 列名;修改列名MySQL: alter table bbb change nnnnn hh int;修改列名SQLServer:exec sp_rename't_student.name','nn','column';修改列名Oracl 阅读全文
posted @ 2013-06-01 15:54 qingsong_do 阅读(248) 评论(0) 推荐(0) 编辑