解决方案 »

  1.   

    用EXECUTE IMMEDIATE 放动态语句里面,不然你alter table应该会报错。
      

  2.   

    将a表结构复制给b表
    create table b as select * from a where 1<>1
      

  3.   

    可能是书写语法有无呐!SQL> create table test1 as select * from test where 1=2;Table createdSQL> select * from test1;USERNAME                                             USERNUM
    -------------------- ---------------------------------------SQL> alter table test1 add(adress varchar2(20));Table alteredSQL> select * from test1;USERNAME                                             USERNUM ADRESS
    -------------------- --------------------------------------- --------------------SQL>