Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Added support for LEFT and RIGHT functions #50

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 ?

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.

2 participants