[DBAL-292] Multiple use of named parameter doesn't work Created: 12/Jun/12 Updated: 28/Dec/13
IIS 7.5, MS-SQL-Server 2005, PHP 5.4.0
In the example in the documentation http://doctrine-dbal.readthedocs.org/en/2.0.x/reference/data-retrieval-and-manipulation.html#dynamic-parameters-and-prepared-statements there is the following example:
When I try this example using pdo_sqlsrv I get the following error:
When I use instead the parameters name1 and name2 the query works as expected.
|Comment by Alexander [ 07/Jul/12 ]|
Are you sure you were using the 2.2.2 version of the ORM? Can you try to reproduce this with the latest master?
|Comment by Steve Müller [ 28/Dec/13 ]|
Jürgen ping. I cannot reproduce this error, either. Can you please try to reproduce this with the latest master branch? Otherwise I will close this ticket.