title: What causes SQL Server to return the message 'The statement has been terminated'?
body: <p>I have a very simple INSERT statement being executed from a PHP script running on a Linux Apache web server.  I can run the query fine from within SQL Management Studio and it normally runs fine from PHP as well.  However, every once in awhile I get an error message from my PHP script that the query failed and the mssql_get_last_message() function returns 'The statement has been terminated'.</p>
  
  <p>What sources can cause this message to be returned from SQL Server?</p>