alter table table_name modify

解决方案 »

  1.   

    enterprise manager不清楚,用sqlplus吧alter table table_name add constraint pk_tbl on table_name(column_name)
      

  2.   

    登陆sqlplus用。
    sqlplus system/manager
      

  3.   

    我的表为 t_counterplan,如何把中间的counterplanNo设为主键
      

  4.   

    alter table t_counterplan add constraint 约束名 on t_counterplan(counterplanNo)
      

  5.   

    alter table t_counterplan add constraint 约束名 on t_counterplan(counterplanNo)
      

  6.   

    alter table t_counterplan add constraint 约束名 primary key(counterplanNo)