title: Declaring and setting variables in Oracle for TOAD
body: <p>I'm new to Oracle and TOAD for Oracle but my experience is in MS SQL.</p>
  
  <p>How can I set values for variables? This gives me an error (PLS-00428: an INTO clause is expected in this SELECT statement) on line 1.</p>
  
  <pre><code>declare 
  startdate date := to_date('01/10/2015','mm/dd/yyyy');
  enddate date := to_date('01/16/2015','mm/dd/yyyy');
  
  begin
  select 
      blah, blah, blah
  from table
  where some_date between startdate and enddate;
  end;
  </code></pre>
  
  <p>I've Googled, Binged and knocked around, I don't see what is wrong.</p>
  
  <p>Thanks.</p>