alter table a modify(aaa varchar2(20));

解决方案 »

  1.   

    alter table <表名> modify <列定义>
      

  2.   

    关于修改ORACLE的列宽
    (1)、不论如何都要备份数据。
    (2)、如果没有数据,则可以修改宽度。比如NUMBER,CHAR,VARCHAR2
    (3)、如果有数据,则可以增加宽度。比如NUMBER,CHAR,VARCHAR2
       不可以减小宽度。
    (4)、语法:alter talbe tablename modify columnname columntype not null;
      

  3.   

    1. create table new_table is select * from old_table where 1=2;
    2.alter table new_table modify(modify_field varchar2(2000));
    3.建立起相关的关联
    4.insert into new_table select * from old_table
      

  4.   

    没道理不行,肯定是你语句写错了,你可以先在SQL*PLUS下试试看;
    alter table <表名> modify (<字段名 数据类型>)