title: Import huge SQL file into SQL Server
body: <p>I use the <code>sqlcmd</code> utility to import a 7 GB large SQL dump file into a remote SQL Server. The command I use is this:</p>
  
  <pre><code>sqlcmd -S IP address -U user -P password -t 0 -d database -i file.sql
  </code></pre>
  
  <p>After about 20-30 min the server regularly responds with:</p>
  
  <blockquote>
    <p>Sqlcmd: Error: Scripting error.</p>
  </blockquote>
  
  <p>Any pointers or advice?</p>