What causes MSSQL to return the message 'The statement has been terminated'?

Posted by Wally Lawless on Stack Overflow See other posts from Stack Overflow or by Wally Lawless
Published on 2010-06-16T13:31:26Z Indexed on 2010/06/16 13:52 UTC
Read the original article Hit count: 217

Filed under:
|
|

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'.

What sources can cause this message to be returned from MSSQL?

© Stack Overflow or respective owner

Related posts about php

Related posts about sql