Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Consider the following scenario:

  • You enable change tracking on a database in Microsoft SQL Server 2012.

  • You run a query that uses the system change tracking function CHANGE_TRACKING_CURRENT_VERSION().

  • SQL Server attempts to use a parallel query execution plan to execute the query.

In this scenario, an access violation occurs, and you may receive the following error message:

Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command.  The results, if any, should be discarded.

Cause

The issue occurs because the CHANGE_TRACKING_CURRENT_VERSION() function cannot be executed correctly in parallel.

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:


Status

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

Workaround

To work around the issue, use the OPTION (MAXDOP 1) hint in the query.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×