Oracle PL/SQL/PL SQL/Print
Print command: print out a variable
SQL>
SQL>
SQL> -- Print command
SQL>
SQL>
SQL> VARIABLE g_result VARCHAR2(100)
SQL> BEGIN
2 :g_result :="Hello";
3 END;
4 /
PL/SQL procedure successfully completed.
SQL>
SQL> PRINT g_result
G_RESULT
-------------------
Hello
SQL>
SQL>