错误提示信息显示不出来,只提示是
 if exists(select P_NO from Person_1 where P_NO = P) then
一行……不知道是不是我安装上有毛病……

解决方案 »

  1.   

    if exists(select P_NO from Person_1 where P_NO = P) then
    ->
    select p_no into t_no from Person_1 where P_NO = P;
    if p_no is not null then
    ...
      

  2.   

    if exists(select P_NO from Person_1 where P_NO = P) then
    ->
    select p_no into t_no from Person_1 where P_NO = P;
    if t_no is not null then
    ...
      

  3.   

    谢谢,解决了。ORCAL的确比SQL好用,就是这PL/SQL不是很方便。