Consider the following scenario:
You have Microsoft SQL Server 2008 R2 installed.
You register query notification with join on the table.
You delete rows from the tables.
In this scenario, an access violation occurs.
The issue occurs because of a defect in SQL Server 2008 R2.
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.