Article ID: 2902151 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You use database mirroring in Asynchronous high-performance mode in Microsoft SQL Server 2012 R2.
  • You enable Change Tracking on the Principal database.
  • You create a database snapshot on the Mirror database.
  • You use CHANGE_TRACKING_CURRENT_VERSION() function on the database snapshot to check the version that is associated with the last committed transaction.
In this scenario, the returned value of CHANGE_TRACKING_CURRENT_VERSION() function is incorrect. It is either 0 or lower than the value returned from the Principal database.

Cause

The issue occurs because of a defect related with function processing on a database snapshot. CHANGE_TRACKING_CURRENT_VERSION() function returns incorrect values on the database snapshot.

Resolution

The issue was first fixed in the following cumulative update of SQL Server.

After you apply the hotfix, SQL Server will change the CHANGE_TRACKING_CURRENT_VERSION() function logic. The returned value of CHANGE_TRACKING_CURRENT_VERSION() function on the database snapshot will be correct.

Cumulative Update 11 for SQL Server 2008 R2 SP2

About cumulative updates for SQL Server

Collapse this imageExpand this image
assets folding start collapsed
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:
Collapse this imageExpand this image
assets folding end collapsed

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 2902151 - Last Review: February 18, 2014 - Revision: 1.0
Applies to
  • Microsoft SQL Server 2008 R2 Service Pack 2, when used with:
    • Microsoft SQL Server 2008 R2 Datacenter
    • Microsoft SQL Server 2008 R2 Developer
    • Microsoft SQL Server 2008 R2 Enterprise
    • Microsoft SQL Server 2008 R2 Express
    • Microsoft SQL Server 2008 R2 Standard
    • Microsoft SQL Server 2008 R2 Web
    • Microsoft SQL Server 2008 R2 Workgroup
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2902151

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com