title: SQLCmd Hanging On Complex Batch Scripts
body: <p>My company is currently using the sqlcmd 2005 for deployment and for some reason on certain SQL scripts it tends to hang even though there are no errors, and if run from management studio it completes successfully.</p>
  
  <p>It tends to hang on complex scripts that have multiple GO statements and or cursors.</p>
  
  <p>By "hang" I mean the process will not complete until I explicitly kill it with Task Manager.</p>
  
  <p>Has anybody else had this experience, and have any suggestions to work around this issue?</p>
  
  <p>Thanks</p>