<p>I am using Oracle SQL (in SQLDeveloper, using the SQL Worksheet).  I would like to print a statement before my select, such as</p>

<pre><code>PRINT 'Querying Table1';
SELECT * from Table1;
</code></pre>

<p>What do I use to Print / show text output?  It's not Print, because that gives me the error: Bind Variable <code>Table1</code> is NOT DECLARED.  DBMS_OUTPUT.PUT_LINE is an unknown command.  (Obviously, I'm an inexperienced SQLDeveloper and Oracle user.  There must be some synonym for Print, but I'm having trouble finding help on it without knowing what it is.)</p>

You could
set echo
to on:
```
```
set echo on
REM Querying table
select * from dual;
```
```
In SQLDeveloper, hit F5 to run as a script.