title: Oracle version of the Sql Server "sqlcmd.exe" tool to deploy .sql scripts
body: <p>Microsoft Sql Server has a command line tool called sqlcmd.exe.</p>
  <p>You can use it to deploy .sql scripts.</p>
  <p>I have googled and binged and found many Oracle command line tools, but I have yet to find one that will deploy a sql package.</p>
  <p>Here is a simple example:</p>
  <pre><code>sqlcmd.exe -i .\MySqlScript.sql -S &quot;MySqlServerMachine\MyInstancenName&quot;  -E -o &quot;.\MyOutputLogFileName.txt&quot;
  </code></pre>
  <p>The command line will run the file &quot;MySqlScript.sql&quot; against a Sql Server (Instance) named &quot;MySqlServerMachine\MyInstancenName&quot; using integrated security (&quot;-E&quot;) and output the results to a file named  &quot;MyOutputLogFileName.txt&quot;.</p>
  <p>Is there a Oracle version of this tool?</p>
  <hr />
  <p>I found <code>oradim</code>, but it is unclea if it runs a .sql script.</p>
  <hr />
  <p>Based on parado's response, I found the below URL:</p>
  <p><a href="http://docs.oracle.com/cd/B25329_01/doc/appdev.102/b25108/xedev_sqlplus.htm#CJAGIECA" rel="nofollow noreferrer">http://docs.oracle.com/cd/B25329_01/doc/appdev.102/b25108/xedev_sqlplus.htm#CJAGIECA</a></p>