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

When you run a SQL Server 2008 R2 report under the following scenarios, you may encounter an issue.

Scenario 1

  • The report uses a shared dataset. You specify collation, case-sensitivity, and other options for the dataset.

  • You set a filter in the dataset.

In this scenario, the report displays incorrect results.

Scenario 2

  • The report uses a dataset. You specify collation, case-sensitivity, and other options for the dataset.

  • You set a filter in the dataset.

  • You create a parameter that is bound to the dataset.

In this scenario, the parameter lists incorrect values for selection when you run the report.

For example, assume that you create a shared dataset that contains the following data.

Color

ID

Black

1

black

2

You set the case-sensitivity option for the dataset to false. Additionally, you set a filter that uses the following expression:

[Color] <> black 

When you run a report that returns the shared dataset, the following data is displayed.

Color

ID

Black

1

However, you expect the "black" row to also be displayed.

Cause

This issue occurs because the collation, case-sensitivity, and other options are not considered when SQL Server processes the filter of a shared dataset or the parameter of a filtered dataset. If a different filter or parameter is used, this may cause an error.

Resolution

Service pack information for SQL Server 2008 R2

To resolve this problem, obtain the latest service pack for SQL Server 2008 R2. 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 R2

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
This problem was first corrected in SQL Server 2008 R2 Service Pack 1 (SP1) for SQL Server 2008 R2.

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!

×