政府机关语法

谁熟悉rename的语法呢?大家发表一下啊

那位大仙熟悉informix的rename语法啊?HELP!!!!!!
参与5

5同行回答

sikoleesikolee系统管理员sino
学习了:lol显示全部
学习了:lol收起
政府机关 · 2012-03-10
浏览1119
filvyofilvyo系统工程师B
遇到过这样的情况,有个大表,想把里面的数据备份到一个备份表里去,但表太大了,一直长事务,后来就这样操作,将该表的表结构导出来,在把表改名, 新建个这个表.显示全部
遇到过这样的情况,
有个大表,想把里面的数据备份到一个备份表里去,
但表太大了,一直长事务,
后来就这样操作,将该表的表结构导出来,
在把表改名, 新建个这个表.收起
互联网服务 · 2011-09-27
浏览1092
jillmejillme课题专家组CIO某大型银行
修改列rename table.col to  newcol修改数据库rename olddatabase  to  newdatabase修改索引rename oldindex  to  newindex修改表rename table aa to  aanew显示全部
修改列
rename table.col to  newcol
修改数据库
rename olddatabase  to  newdatabase
修改索引
rename oldindex  to  newindex
修改表
rename table aa to  aanew收起
互联网服务 · 2011-06-19
浏览1056
hangkong128hangkong128软件开发工程师亿阳信通
--重命名表。rename table test123 to test321;--删除字段alter table test111 drop name;--增加字段alter table test111 add zh_name varchar(50);--修改字段名rename column test111.int_id to ne_id;--修改字段类型alter table test111 modify int_id int8;...显示全部
--重命名表。
rename table test123 to test321;
--删除字段
alter table test111 drop name;
--增加字段
alter table test111 add zh_name varchar(50);
--修改字段名
rename column test111.int_id to ne_id;
--修改字段类型
alter table test111 modify int_id int8;收起
软件开发 · 2011-06-09
浏览1054
wxmlxjwxmlxj项目经理啊啊哦哦
rename table aa to  aanew显示全部
rename table aa to  aanew收起
互联网服务 · 2011-06-09
浏览1021

提问者

石晓博
系统管理员亿阳信通

问题状态

  • 发布时间:2011-06-09
  • 关注会员:0 人
  • 问题浏览:6042
  • 最近回答:2012-03-10
  • X社区推广