Skip to content

Add support for TRIM function in T-SQL parser and related tests#202

Open
aasimkhan30 wants to merge 1 commit intomainfrom
aasim/fix/188v2
Open

Add support for TRIM function in T-SQL parser and related tests#202
aasimkhan30 wants to merge 1 commit intomainfrom
aasim/fix/188v2

Conversation

@aasimkhan30
Copy link
Copy Markdown
Contributor

Description

Fixes TRIM(... FROM ...) parsing inside RETURN statements in scalar functions.

This change adds direct TRIM recognition in expression lookahead so RETURN TRIM('x' FROM @str) and the LEADING/TRAILING/BOTH variants parse correctly, while preserving existing TRIM(*) behavior.

Code Changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant