title: PDO ODBC: Invalid string or buffer length
body: <p>We are using a PDO to connect to a MSSQL Server using the DSN:</p>
  
  <pre><code>odbc:Driver={SQL Server Native Client 11.0};;Server=*.*.*.*;Database=whatever;
  </code></pre>
  
  <p>When trying to <code>execute()</code> an <code>INSERT</code> statement we are getting the following error message:</p>
  
  <pre><code>Error: SQLSTATE[HY090]: Invalid string or buffer length: 0 [Microsoft][SQL Server Native Client 11.0]Invalid string or buffer length (SQLExecute[0] at /builddir/build/BUILD/php-5.5.18/ext/pdo_odbc/odbc_stmt.c:254)
  </code></pre>