应该是你创建表的时候就创建字段了!
creaete table table1(字段1 varchar2(10),字段2 number(3));如果你已经创建了表,那么增加字段也可以;
alter table add(字段名 varchar2(2),字段名 number(2),.....);

解决方案 »

  1.   

    呵呵,没有字段的表,怎么创建啊??
    楼主是不是要增加字段啊。
    alter table tablename add field_name type
      

  2.   

    创建表时不是有了字段吗增加表字段可以这样:
    alter table table_name add (col_name datetype);
      

  3.   

    1、create table test (aa number ,bb char(2));
    Name Type    Nullable Default Comments 
    ---- ------- -------- ------- -------- 
    AA   NUMBER  Y                         
    BB   CHAR(2) Y   
     2、alter table test  add (cc number);
    Name Type    Nullable Default Comments 
    ---- ------- -------- ------- -------- 
    AA   NUMBER  Y                         
    BB   CHAR(2) Y                         
    CC   NUMBER  Y                         
     3、alter table test drop column cc;
    Name Type    Nullable Default Comments 
    ---- ------- -------- ------- -------- 
    AA   NUMBER  Y                         
    BB   CHAR(2) Y