这表明程序是否因编译错误而产生?

时间:2016-06-11 02:29:38

标签: plsql

/* PROCEDURE */
    SET SERVEROUTPUT ON;
    DECLARE
    A NUMBER;
    B NUMBER;
    SUM NUMBER:=0;
    PROCEDURE ADDD(X IN NUMBER,Y IN NUMBER,SUM OUT NUMBER) AS
    BEGIN
    SUM:=X+Y;
    END;
    BEGIN
    A:=12;
    B:=54;
    ADDD(A,B,SUM);
    DBMS_OUTPUT.PUT_LINE(SUM);
    END;
    /

0 个答案:

没有答案