I am in the process of converting some old PHP pages to use PDO.
Below are two simplified queries (not my actual queries) to aid understanding of the problem I\'m ha
If you are using a stored procedure then use
SET NOCOUNT ON
The problem is that the stored procedure returns a result containing the number of rows affected as the first result.
Microsoft Documentation