0
votes

I already added MARS_Connection=yes to my connection string to enable MARS or multiple action result sets. i'm using sql server 2000 and php 5.2 with PDO

This is my connection string

"odbc:DRIVER={SQL Server};SERVER=myserver;DATABASE=mydatabase;MARS_Connection=yes"

This is the error i got

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 0 [Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt (SQLExecute[0] at ext\pdo_odbc\odbc_stmt.c:254)

1
Have you seen stackoverflow.com/questions/9017264 ? The 3 score answer looks quite good?Ukuser32

1 Answers

0
votes