{{1}}
答案 0 :(得分:0)
为我打印价值......
SQL> var x number
SQL> exec :x := 10
PL/SQL procedure successfully completed.
SQL> DECLARE
2 a CONSTANT NUMBER := 3;
3 b NUMBER NOT NULL := 5;
4 BEGIN
5 :X := :X + a + b + 3;
6 END;
7 /
PL/SQL procedure successfully completed.
SQL> print :x
X
----------
21
SQL>