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

Problem change parameter value #12420

Closed
devscheffer opened this issue May 11, 2021 · 4 comments
Closed

Problem change parameter value #12420

devscheffer opened this issue May 11, 2021 · 4 comments

Comments

@devscheffer
Copy link

devscheffer commented May 11, 2021

Database

IBM db2

Dbeaver

Version: 21.0.4

Describe the problem you're observing:

once a set parameter like

@set total = 12

it doesn't change the value total if I try to change the value from 12 to 15.

Steps

run

@set total = 12
select :total
-- return 12

Then run the same script but change the value

@set total = 15
select :total
-- return 12, it should  have return 15
@uslss
Copy link
Member

uslss commented May 12, 2021

@devscheffer please, provide more info about the issue.
What database do you use? Dbeaver version? Steps to reproduce an issue?

@devscheffer
Copy link
Author

I have updated the info

@uslss
Copy link
Member

uslss commented Jun 8, 2021

@devscheffer do you use Execute SQL script (Alt+x) command or Execute SQL Statement (Ctrl+Enter).

The issue is reproducible for me only in case I re-execute just SELECT statement using Ctrl+Enter. Seems it is expected behaviour in this case, because the parameter wasn't set once again.

Sorry for the late response

@devscheffer
Copy link
Author

Thank you, I was only using ctrl+enter

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