小弟问个基础问题这个小程序哪里错了?
有emp表
 ID NAME       SEX        SAL
---------- ---------- ---------- -----------------------------------------------------------------------------  1 li         男         100
  2 月         男         200
create procedure sp_pro3(spname varchar2,newsal number) is
begin
update emp set sal=newsal where name=spname;
end;

解决方案 »

  1.   

    没有错误呀。而且你那个是“warning",并不是错误,看下warning指向的地方到底是什么?
      

  2.   

    我也报这个 Warning: Procedure created with compilation errors  还没解决,楼主怎么解决的?
      

  3.   

    show error;遇到的是小问题已经改过了,问题还是在自己。
      

  4.   

     create or replace procedure mypro(name users.username%type);
         as
       I number;
       begin
       select count(*) into I from users where username = name;
        if I>0
       then
      dbms_output.put_line('用户存在');
      else
      dbms_output.put_line('用户不存在');
      end if;
      end;
    我也是报的这个错误 还没有解决