title: dbms_out returning column 1: PLS-00428: an INTO clause is expected in SELECT statement
body: <p>Running this query in sql-developer :</p>
  
  <pre><code>SET SERVEROUTPUT ON 
  BEGIN
  
  DBMS_OUTPUT.PUT_LINE  ('schema &gt; table &gt; key ');
  SELECT  'table_name' TABLE_NAME , t.* FROM table_name  t    ;
  
  END ;
  </code></pre>
  
  <p>I get this message :</p>
  
  <pre><code> Error report -
   ORA-06550: line 4, column 1: PLS-00428: an INTO clause is expected in
   this SELECT statement
   06550. 00000 -  "line %s, column %s:\n%s"
   *Cause:    Usually a PL/SQL compilation error.
   *Action:
  </code></pre>
  
  <p>while when I run the two statements one by one it works fine.
  so why do I get the error and how to avoid it ?</p>
  
  <p>many thanks,</p>