可能是人家看不懂你的TAB字符?....改成空格试试?

解决方案 »

  1.   

    pl/sql developer 不认那个;
      

  2.   

    在pl/sql developer中两条语句单独执行是可以的
      

  3.   

    create table e_id
    (
      cid number not null,
      maxid number not null,
      constraint pk_e_id primary key (cid)
    );
    /
    create index idx_id_all On e_id(cid, maxid);
      

  4.   

    楼主是在pl/sql developer中的什么窗口中执行的???我在Command Window的Editor中粘贴进去后,点执行是可以执行的。在Dialog中直接粘贴也是可以执行的!!!to waterfirer(水清):
    你那个SQL中有了;后再来一个/表示再执行上面的SQL,就是说create table语句会被执行两次。
      

  5.   

    to bobfang(匆匆过客):
    看错了 :p
      

  6.   

    SQL> 
    SQL> create table e_id
      2  (
      3    cid number not null,
      4    maxid number not null,
      5    constraint pk_e_id primary key (cid)
      6  );Table createdExecuted in 0.125 secondsSQL> create index idx_id_all On e_id(cid, maxid);Index createdExecuted in 0.032 secondsSQL>
      

  7.   

    运行 pl/sql developer 6.0 正常.
      

  8.   

    呵呵,我自己搞定了,原来command窗口下执行批命令,而在sql窗口下执行单条命令,因为它要执行commit动作