doctrine/dbal — pull request #159 by dtrethewey (2012-06-07 08:39:44+00:00)
Title: SQL Server doModifyLimitQuery() quoting of doctrine_rownum causes error

SQL Server doesn't like the quoted alias for doctrine_rownum and fails when setting setMaxResults() and setFirstResult() in query, returning an error like "Conversion failed when converting the varchar value 'doctrine_rownum' to data type int. (severity 16)"

Not sure why the column alias is quoted as have never seen that used before.