sql server parameter binding
Closed this issue · 1 comments
brettmc commented
Hi,
I think parameterized queries via the sql server adapter do not work. I've looked fairly hard at the code, and run it through a debugger (focussing on Zend\Db\Adapter\Driver\Sqlsrv\Statement::prepare() and ::bindParametersFromContainer() ) and it really looks to me like it should work.
I've submitted a pull request, #253 which adds two integration tests for sql server. You'll see that parameter binding works with pdo_sqlsrv
, but not with sqlsrv
.