我在pl/sql developer中写了一个过程,但是在SQL中却不能用EXECUTE proc 调用,提示说无效的SQL语句,那么我该在什么地方写呢?

解决方案 »

  1.   

    set serveroutput on;
    create or replace procedure test is 
    begin
        dbms_output.put_line('aaaaaaaaaaaaaaa');
    end test;
    exec test;
      

  2.   

    新建command window中exec 过程名称;
      

  3.   

    set serveroutput on;
    create or replace procedure test is 
    begin
        dbms_output.put_line('aaaaaaaaaaaaaaa');
    end test;
    exec test;
      

  4.   

    补充一下,里面是SQL窗口,2楼说的command window是指什么啊?