请问,在pl/sql developer里面,用什么sql去执行一个存储过程,我试了用execute和exec都不行,比如 execute my_sp_test,提示无效sql我的存储过程如下:
create or replace procedure my_sp_test is
bDep_ID number;
begin
  select dept_id into bDep_ID from mts_interface_employee t ;
end my_sp_test;

解决方案 »

  1.   

    pl/sql developer不能在sql窗口执行存储过程,要在命令(command)窗口执行。
      

  2.   

    哈哈,上次我也遇到了这样的问题,只能 test ,
    好来才知道 ,command 窗口才可以执行,就是进入 sql plus 的界面
      

  3.   

    胡说
    当然可以在pl/sql里面执行存储过程了
    只不过有点麻烦而已如(test_double是存储过程):
    DECLARE
    input Number := 100;
    BEGIN
    test_double(200,input);
    DBMS_OUTPUT.PUT_LINE(input);
    END;