oracle存儲過程變量?
不初始化就是null了 SQL> set serveroutput on; SQL> SQL> DECLARE 2 L_N NUMBER; 3 BEGIN 4 DBMS_OUTPUT.PUT_LINE(L_N + 1)
; 5 END; 6 / PL/SQL procedure successfully completed 輸出就是空 !
oracle存儲過程變量?
不初始化就是null了 SQL> set serveroutput on; SQL> SQL> DECLARE 2 L_N NUMBER; 3 BEGIN 4 DBMS_OUTPUT.PUT_LINE(L_N + 1)
; 5 END; 6 / PL/SQL procedure successfully completed 輸出就是空 !