create or replace procedure Nodata_Insert_sp(P_GRADE_ID  number,
                                             P_NATION_ID number,
                                             P_U_YEAR    number,
                                             P_U_START   date,
                                             P_U_END     date,
                                             P_U_RBF     number) as

解决方案 »

  1.   

    两种方法:
    exec Nodata_Insert_sp(10);begin
    Nodata_Insert_sp(10);
    end;
      

  2.   

    一般来讲是使用命令行(pl/sql工具里有个:command widows):
     exec procedure_name(  variable_value1, variable_value2,.....) ;
      

  3.   

    1.使用exec或execute命令:  exec Nodata_Insert_sp(参数列表);2.代码块中执行:  begin
         Nodata_Insert_sp(参数列表);
      end
      /3.在其他过程或函数中执行。
      

  4.   

    执行存储过程,方式总体有3种:
    1. 在SQL*Plus环境或PL/SQL Developer的Command Window中:
       exec Nodata_Insert_sp(实参列表)2. 在PL/SQL块中
       Nodata_Insert_sp(实参列表);3. 在其它编程语言中,根据不同编程语言有所不同。
      

  5.   

    call Nodata_Insert_sp(实参列表);
      

  6.   


    declare
    P_GRADE_ID number;
      P_NATION_ID number;
      P_U_YEAR number;
      P_U_START date;
      P_U_END date;
      P_U_RBF number;
      beginNodata_Insert_sp(P_GRADE_ID,P_NATION_ID,P_U_YEAR,P_U_START,P_U_END,P_U_RBF);
      end;
      

  7.   

    点击左上角那个像发光一样的图标,选择“command window” ,然后就和sqlplus中执行方法一样了