SQL> create table mytest(
  2  test1 varchar2(20),
  3  test2 varchar2(20),
  4  test3 varchar2(20));表已创建。SQL>  alter table mytest drop column test3;表已更改。SQL> alter table mytest drop (test2);表已更改。

解决方案 »

  1.   

    我在sqlplus中试验了一下,不行,提示缺少关键字
      

  2.   

    我的 sqlplus是8.05版。就是不行,请多帮忙!
      

  3.   

    不嫌麻烦可以这样做:
    1.create table newtbl (select col1,col2,col3...除了要删除的那个字段 from oldtbl )
    此时表已建立
    2.drop oldtbl;
    3.rename newtbl 为 oldtbl;
    就可以了。