用户lexzhong下面有存储过程myproc,我在pro*c中是这样调用的.
EXEC SQL EXECUTE
  BEGIN myproc;
  END;
END-EXEC;
但是预编译不通过
EXEC SQL EXECUTE
  BEGIN lexzhong.myproc;
  END;
END-EXEC;
也不通过,不知道怎么回事.

解决方案 »

  1.   

    EXEC SQL EXECUTE  
    begin  
    p_bill_day('0' ); 
    end; 
    END-EXEC;
    哈哈 我就是这样调用的啊  成功啊 不行用把详细错误给我啊
      

  2.   

    D:\Files\Database\Exam>proc Exam01.pcPro*C/C++: Release 9.2.0.1.0 - Production on 星期二 1月 24 09:16:42 2006Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.系统默认选项值取自于: D:\oracle\ora92\precomp\admin\pcscfg.cfg错误发生在行28,列7,文件Exam01.pc
          myproc;
    ......1
    PLS-S-00201, 必须说明标识符 'MYPROC'
    错误发生在行28,列7,文件Exam01.pc
          myproc;
    ......1
    PLS-S-00000, Statement ignored
    在第 27 行,第 5 列,文件 Exam01.pc 有语义错误:
        begin
    ....1
    PCC-S-02346, PL/SQL 发现语义错误D:\Files\Database\Exam>