ANDY的一生nif_zdzhu复制地址

1。复制空表结构
  create table new_table
  as select * from old_table where 1=2;
2。复制表(含记录)
  create table new_table
  as select * from old_table ;
3。修改表的列名
      alter table xxx rename column xx to yy;


作者:hongyefei 阅读() 评论()  编辑 发表于:2006-06-07 13:37