Skip to content
Bug Barometer

SOQLs with LIKE operator on LanguageLocaleKey does not return rows correctly for some language locales like German(de) and Spanish (es)

Salesforce says this is fixed.

Summary

SOQL is behaving differently while selecting data based on the German language and the French language using the LIKE operator. For example,

SELECT Id,LanguageLocaleKey FROM User WHERE ProfileId='00e2vxxxxxxxxxx' AND LanguageLocaleKey = 'de'
// Returns 1 result that is expected

SELECT Id,LanguageLocaleKey FROM User WHERE ProfileId='00e2vxxxxxxxxxx' AND LanguageLocaleKey LIKE 'de%'
// Returns 0 result that is unexpected

If we use "fr" instead of "de" in the above-mentioned queries, both will return 1 result, but in the case of "de", the query doesn't return results with the LIKE operator.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 1 report

    Nov 30, 2026

Also open in Cache