Skip to content

Added support for LEFT and RIGHT functions #50

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KNaved
Copy link

@KNaved KNaved commented May 11, 2021

Added support for the below functions

SELECT LEFT('SQL Tutorial', 3) AS ExtractString;
SELECT RIGHT('SQL Tutorial', 3) AS ExtractString;

Earlier the parser was breaking as LEFT and RIGHT keywords were treated as part of joins only.

@KNaved KNaved marked this pull request as ready for review May 11, 2021 22:13
@KNaved KNaved changed the title Support for Left and right functions Added support for Left and right functions May 11, 2021
@KNaved KNaved changed the title Added support for Left and right functions Added support for LEFT and RIGHT functions May 11, 2021
@albin3
Copy link
Member

albin3 commented May 12, 2021

any test case ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants