title: Calling a Stored Procedure with PHP PDO Error
body: <p>I'm using PHP PDO with the ODBC driver to connect to an MSSQL database. I have a stored procedure called "uspGetLoginUserInformation".  I'm trying to call it like so:</p>
  
  <pre><code>    $username = 'my@email.com';
      $password = 'test';
      $stmt = $odbc-&gt;prepare("CALL dbo.uspGetLoginUserInformation(:username, :password)");
      $stmt-&gt;bindParam(':username', $username);
      $stmt-&gt;bindParam(':password', $password);
      $stmt-&gt;execute();
  </code></pre>
  
  <p>I keep getting this error:</p>
  
  <p><strong>Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 102 [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Incorrect syntax near '.'. (SQLExecute[102] at ext\pdo_odbc\odbc_stmt.c:254)' in C:\wamp\www\plugin.php on line 96</strong></p>
  
  <p>Any ideas? I get that it's a syntax error, but even if I remove the "dbo." I still get a syntax error <strong>Incorrect syntax near '@P1'</strong>.</p>
  
  <p>Thanks!</p>