You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
is possible to implement new DataSourceLoadOptionsBase.SkipStringToLower option.
When I have some filter, I need case insensitive comparison just for some fields, but not for others (because of index search).
Best regards,
Darko
The text was updated successfully, but these errors were encountered:
SELECTCOUNT(*)
FROM [Orders] AS [o]
WHERE ([o].[ShipName] = N'Wilman Kala') AND (CHARINDEX(N'Keskuskatu 45', [o].[ShipAddress]) >0)
Compare with SQL w/o SkipStringToLowerCompiler:
SELECTCOUNT(*)
FROM [Orders] AS [o]
WHERE (LOWER([o].[ShipName]) = N'wilman kala') AND (CHARINDEX(N'keskuskatu 45', LOWER([o].[ShipAddress])) >0)
However, as you probably know, in SQL databases, case sensitivity is often controlled by table/column collation settings. If this is your case then you don't need to use StringToLower.
Hello,
is possible to implement new DataSourceLoadOptionsBase.SkipStringToLower option.
When I have some filter, I need case insensitive comparison just for some fields, but not for others (because of index search).
Best regards,
Darko
The text was updated successfully, but these errors were encountered: