Symptoms
When you run a query by using the MERGE statement in Microsoft SQL Server, you notice that the MERGE statement fails and returns an access violation error at BTreeRow::DisableAccessReleaseOnWait.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Resolution
This problem is fixed in the following cumulative updates for SQL Server:
- Cumulative Update 10 for SQL Server 2019
- Cumulative Update 24 for SQL Server 2017
- Cumulative Update 16 for SQL Server 2016 SP2
About cumulative updates for SQL Server
Each new cumulative update for SQL Server contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for your version of SQL Server:
- Latest cumulative update for SQL Server 2019
- Latest cumulative update for SQL Server 2017
- Latest cumulative update for SQL Server 2016
References
Learn about the terminology that Microsoft uses to describe software updates.