过程是oracle中的procedure,用Schema Manager编译没错,参数类型没错。
procedure能否返回数据集?用function行不行?

解决方案 »

  1.   

    ORACLE不提供在存储过程中返回记录集的功能
      

  2.   

    我没有返回数据集!存储过程如下:
     As
     I NUMBER;
     begin
     I:=1;
     end ppp;
      

  3.   

    你不会告诉我你的存储过程是这样写的吧;
    create or replace procedure PPP 
    as
    I INTEGER;
    begin
    I:=1;
    end ppp;把AS 改成IS 重新编译一下
      

  4.   

    为什么delphi的stored procedure总是认不了oracle的存储过程和函数?
      

  5.   

    在程序中打开storedprocedure部件时不要使用OPEN方法
    用EXEC方法。storedprocedure1.exec;
    that's ok.........
      

  6.   

    当有数据集返回时,用OPEN,这时可以把STOREDPROC当作TABLE处理。
    当它只是执行后台过程时,用EXECPROC方法打开STOREDPROC。