I am using Oracle SQL (in SQLDeveloper, using the SQL Worksheet). I would like to print a statement before my select, such as
PRINT \'Querying Table1\'; SELECT
If I ommit begin - end it is error. So for me this is working (nothing else needed):
set serveroutput on; begin DBMS_OUTPUT.PUT_LINE('testing'); end;