title: sqlplus statement from command line
body: <p>Is it possible to do something like this?</p>
  
  <p><code>$ sqlplus -s user/pass "select 1 from dual"</code>
  or<br>
  <code>$ echo "select 1 from dual" | sqlplus -s user/pass</code></p>
  
  <p>I know I can put <code>select 1 from dual</code> in a file and do this:<br>
  <code>$ sqlplus -s user/pass @myFile.sql</code></p>
  
  <p>but I'm wondering if it's actually necessary to create a file just to satisfy sqlplus</p>