title: How can I issue a single command from the command line through sql plus?
body: <p>Using SQL Plus, you can run a <strong>script</strong> with the "@" operator from the command line, as in:</p>
  
  <pre><code>c:\&gt;sqlplus username/password@databasename @"c:\my_script.sql"
  </code></pre>
  
  <p>But is it possible to just run a <strong>single command</strong> with a similar syntax, without a whole separate script file?  As in:</p>
  
  <pre><code>c:\&gt;sqlplus username/password@databasename @execute some_procedure
  </code></pre>
  
  <p>I am interested in this because I want to write a batch file that simply executes a command, without generating a bunch of two-line ".sql" files.</p>