sqlplus && DBMS_OUTPUT.PUT_LINE doesn't work ? [message #678680] |
Fri, 27 December 2019 05:59 |
|
a100
Messages: 34 Registered: March 2019
|
Member |
|
|
Hello all,
I am learning how to use DBMS_OUTPUT.PUT_LINE (it is supposed to be a simple isn't it ?) but when I run this query saved in file test_dual.sql:
DECLARE
RES VARCHAR2(50);
BEGIN
SELECT 3+4 INTO RES FROM DUAL;
DBMS_OUTPUT.PUT_LINE(RES);
END;
I get the following result:
SQL> @test_dual;
7 /
PL/SQL procedure successfully completed.
Where is the real output of this ?
|
|
|
|
|
|