SqlServer: string.IsNullOrWhiteSpace translation is overly complex #22916
Labels
area-query
area-sqlserver
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
good first issue
This issue should be relatively straightforward to fix.
type-enhancement
Milestone
Today, we translate this as
@value IS NULL OR LTRIM(RTRIM(@value)) = N''
. But I have a few questions:N' ' = N''
returns true in SQL Server.IMHO, the translation should be
@value IS NULL OR @value = N''
The text was updated successfully, but these errors were encountered: