title: Invalid cursor state - pdo_odbc FreeTDS SQL Server
body: <p>We're running a completely nonchalant query and are getting the following error:</p>
  
  <pre><code>PDOException : SQLSTATE[24000]: Invalid cursor state: 0 [FreeTDS][SQL Server]Invalid cursor state (SQLExecute[0] at /builddir/build/BUILD/php-5.5.13/ext/pdo_odbc/odbc_stmt.c:254)
  </code></pre>
  
  <p>From PHP we're using the <code>pdo_odbc</code> library to connect via FreeTDS to SQLServer 2008</p>