我的存储过程总是编译不通过,大家帮忙看一下。谢谢了
create or replace procedure GetWindSumCount(P_FactoryCode in char)
as
begin
select count(*) from pz_windturbine where FACTORYCODE=P_FactoryCode;
end GetWindSumCount;

解决方案 »

  1.   


    create   procedure GetWindSumCount 
     @p_factorycode char
    as 
    begin 
    select count(*) from pz_windturbine where FACTORYCODE=@P_FactoryCode
    end  
      

  2.   

    oraclecreate or replace procedure GetWindSumCount(P_FactoryCode in char) 
    as 
    begin 
    select count(*) from pz_windturbine where FACTORYCODE=P_FactoryCode; 
    end
      

  3.   

    ai ai ai ``` 还能说什么····  见坑就跳,见墙就撞,见人就闪,见洞就钻。  “四见四为”你做到了么?
      

  4.   

    create or replace procedure 是Oracle写法
    create  procedure