Consider the following scenario:
- You have an application to call stored procedure (SP) from remote procedure call (RPC) with PREPARE option and this procedure has one or more output parameters.
- You use Microsoft OLE DB Driver 18 for SQL Server.
- Your SQL Server instance uses Microsoft SQL Server 2014 32-bit version.
In this scenario, the output parameters of the SP are returned correctly in the first call (by using sp_prepexecrpc). However, subsequent calls (by using sp_execute) of the SP may not return the parameters correctly.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
This issue is fixed in the following cumulative updates for SQL Server:
About cumulative updates for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server: