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

SQL Error [102] [42000]: Incorrect syntax near 'go' #26870

Closed
millisaeubanks opened this issue Apr 26, 2024 · 3 comments
Closed

SQL Error [102] [42000]: Incorrect syntax near 'go' #26870

millisaeubanks opened this issue Apr 26, 2024 · 3 comments

Comments

@millisaeubanks
Copy link

Description

Prior to the update on 4/22/2024 to Version 24.0.3.202404211624 I was able to run scripts (using the Execute SQL Scripts option) like the attached without incident. Now when I try to do this I get the error message SQL Error [102] [42000]: Incorrect syntax near 'go'. For this particular file I get that message 3 times when there are 4 go statements.

I have tried looking at the driver data as suggested in #78 but the didn't change the outcome.

I am able to work around this issue at the moment by selecting each block of code for the go statement and running it separately. That tells me that the issue isn't in the code I have written but in the actual inclusion of the go statement. Please advise if there is anything I can do to address this issue.
default
delimiterUpdated
r_startData .txt

DBeaver Version

24.0.3.202404211624

Operating System

Windows 10 Pro

Database and driver

SAP ASE jConnect driver

Steps to reproduce

  1. Connected to my DB which has a schema called common_db and a table called start
  2. Opened a new SQL Console
  3. Pasted attacked txt text into console
  4. Selected all text and use the Execute SQL Scripts option.
    3 versions of the error were thrown.

Additional context

No response

@E1izabeth
Copy link
Member

Could you try Early Access version https://dbeaver.io/files/ea/ ? It's possible that it has been already fixed.

@millisaeubanks
Copy link
Author

millisaeubanks commented May 2, 2024 via email

@E1izabeth
Copy link
Member

Thank you for checking. I'm closing the issue then

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

No branches or pull requests

2 participants