Bỏ qua để tới nội dung chính
Đăng nhập với Microsoft
Đăng nhập hoặc tạo một tài khoản.
Xin chào,
Chọn một tài khoản khác.
Bạn có nhiều tài khoản
Chọn tài khoản bạn muốn đăng nhập.
Tiếng Anh
Chúng tôi rất tiếc. Bài viết này không có bằng ngôn ngữ của bạn.

Microsoft distributes Microsoft SQL Server 2008 R2 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release.

Consider the following scenario:

  • You run Microsoft SQL Server 2005, Microsoft SQL Server 2008, or Microsoft SQL Server 2008 R2 on a computer that has eight or more CPUs.

  • You run a query that uses a ranking function and a parallel execution plan.

    For example, the query uses the ROW_NUMBER, RANK, NTILE, or DENSE_RANK ranking function, and you set the Max Degree of Parallelism option to 4 in server configuration.

In this scenario, the query may return different results every time that you run the query.

Note This issue may occur in one of the following situations:

  • You set the MAXDOP query hint option to a value that is greater than 2.

  • You set the Max Degree of Parallelism option to a value that is greater than 2.

Symptoms

Service pack information

To resolve this issue, obtain the latest service pack for SQL Server 2008 R2, and then enable the 4134 trace flag.

For more information, click the following article number to view the article in the Microsoft Knowledge Base: 

2527041 How to obtain the latest service pack for SQL Server 2008 R2For more information about how to switch on the 4134 trace flag, visit the following MSDN website:

How to switch on the 4134 trace flag

Resolution

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

Status

For more information about ranking functions, visit the following MSDN website: 

General information about ranking functionsFor more information about parallel query processing, visit the following MSDN website:

General information about parallel query processingFor more information about the max degree of parallelism option, visit the following TechNet website:

General information about the max degree of parallelism option

More Information

Bạn cần thêm trợ giúp?

Bạn muốn xem các tùy chọn khác?

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.

Thông tin này có hữu ích không?

Điều gì ảnh hưởng đến trải nghiệm của bạn?
Khi nhấn gửi, phản hồi của bạn sẽ được sử dụng để cải thiện các sản phẩm và dịch vụ của Microsoft. Người quản trị CNTT của bạn sẽ có thể thu thập dữ liệu này. Điều khoản về quyền riêng tư.

Cảm ơn phản hồi của bạn!

×