if  vID = '' then改成if  vID IS NULL then

解决方案 »

  1.   

    select center_id into vuserid from sysuser where subname = :new.window_person;
    每次insert时,subname = :new.window_person有且仅有一条记录满足这个条件吗?如果不是,那select center_id into vuserid在执行时就会出错。
      

  2.   

    嗯,按照boydgmx讲的方法,问题已经解决.
    另外realx提出的方向,经过检查,没有问题.谢谢二位