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

T152 FIX #89

Merged
merged 4 commits into from
Aug 29, 2024
Merged

T152 FIX #89

merged 4 commits into from
Aug 29, 2024

Conversation

makssent
Copy link

Fixes #42.

request: EXECUTE block RETURNS (s VARCHAR(100)) AS BEGIN IF (NULL IS NOT DISTINCT FROM NULL) THEN BEGIN s = 'null is not distinct from null'; suspend; END END;

error message: You have an error in your SQL syntax: EXECUTE block RETURNS (s VARCHAR(100)) AS BEGIN IF (NULL IS NOT DISTINCT FROM NULL) THEN BEGIN s = 'null is not distinct from null'; suspend; END END; no viable alternative at input 'EXECUTE' at line 1 position 1 near @01:7='EXECUTE'<264>1:1

new error message:
Can not accept SQL type ExecuteBlockContext.

@makssent makssent changed the title Added support for EXECUTE BLOCK/ifStatement and other statements. Add… T152 FIX Aug 26, 2024
Copy link
Collaborator

@TedCraft TedCraft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А зачем тут код комментить? С ним не запускается?

@makssent
Copy link
Author

Да, он пока в копилке ошибок таких-же как и CREATE OR ALTER, я решил сначала грамматику для всех таких операторов прописать, буду думать как это зафиксить..

@TedCraft TedCraft merged commit bd5189e into red-soft-ru:master Aug 29, 2024
14 checks passed
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.

Add T152 DISTINCT predicate with negation support
2 participants