KB3160303 - FIX: Incorrect results when you use a LIKE operator and an "ss" wildcard in SQL Server 2014 or 2016

Applies To
SQL Server 2014 Developer - duplicate (do not use) SQL Server 2014 Enterprise - duplicate (do not use) SQL Server 2014 Standard - duplicate (do not use) SQL Server 2016 Developer - duplicate (do not use) SQL Server 2016 Enterprise - duplicate (do not use) SQL Server 2016 Enterprise Core - duplicate (do not use) SQL Server 2016 Standard - duplicate (do not use)

Symptoms

Assume that you run a query that uses a LIKE operator (pattern matching) together with "ss" as a wildcard character to find approximate matches. If the wildcard character is at the end of the statement, the result may not contain all the approximate matches.

Notes

  • The LIKE operator supports both ASCII and Unicode pattern matching. This issue does not occur if the data is stored in Unicode data types.
  • This issue is known to occur in the German language, where the "ss" characters can be regarded as the same as the "ß" character.

      

Resolution

This problem was first fixed in the following cumulative update for SQL Server:

Cumulative Update 7 for SQL Server 2014 Service Pack 1
        
        Cumulative Update 1 for SQL Server 2016
        
        Cumulative Update 1 for SQL Server 2014 SP2
        
      

About cumulative updates for SQL Server

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:

Latest cumulative update for SQL Server 2014
        
        Latest cumulative update for SQL Server 2016
        
      

Status

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

References

Learn about the terminology that Microsoft uses to describe software updates.