Print command: print out a variable : Print « PL SQL « Oracle PL / SQL






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>

           
       








Related examples in the same category