Skip to content

Query: optimize arithmetic operation on constants #18819

Open
@maumar

Description

@maumar

Currently when we translate Substring on SqlServer into something like this:

SUBSTRING([c].[ContactName], 1 + 1, 3)

we should simplify 1+1 into 2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions