question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DBeaver: Remove unecessary press of ENTER in Bind Parameter(s) dialog

See original GitHub issue

DBeaver - Version 5.3.2 Beta CE DBeaver driver: MS SQL Server / Microsoft Driver Operating System: Windows 7 / Windows 8.1 / Windows 10 Database Server: Microsoft SQL Express 2014, 2016, 2017

If I run a SQL command in DBeaver that contain a “colon parameter”, when I have enetered the value for all the values in the Bind parameter(s) dialog I need to press the Enter key twice to press the OK button.

DBeaver ought to use a press to the Enter key as both close input for the current value plus press the OK button.

o Start DBeaver and connect to a database.

o Open a SQL Editor and enter the SQL command below:

SELECT * FROM sys.messages
 WHERE message_id < :MessageId;

o Execute the SQL command.

o DBeaver pops up the Bind parameter(s) dialog.

o Enter the value 1000 for the parameter :MessageId.

o Press the Enter key once to close the input value.

o Press the Enter key again to have the default OK button pressed.

Ought to suffice to have to press to the Enter key once above.

PS. Another way might be to bind the Execute SQL statement key binding (Ctrl+Enter) to do a close of the input value plus a click to the OK button.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
serge-ridercommented, Jan 1, 2019

Applying parameters by a single Enter doesn’t sound like a good idea (in case of multiple parameters is may cause problems).

But CTRL+Enter sounds good and convenient.

0reactions
pdaniecommented, Jan 2, 2019

Nope… I was just thinking more generic. It is totally your call.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DBeaver user guide
You can view values, edit them, and save them back to the database. You can open CLOB/BLOB value in a separate editor (press...
Read more >
Problem with binding parameters - DBeaver Forum • View topic
Hello, MySQL doesn't support this way of parameters binding ( ":agent_id" isn't a valid parameter name). You have to specify dynamic ...
Read more >
News | Free Universal Database Tool | Page 3
Parameters binding dialog now supports multiline editor; Script selector panel UI was fixed; New scripts now position cursor to the end of ...
Read more >
DBeaver Forum • View topic - Bind parameter(s) Dialog
I have a bind parameters problem, there is no value to select "type" drop-down list: ... I find no significant entry in the...
Read more >
How to disable this new, to me annoying, script dialog?
You can click on a connection item (or on any other item under connection) in database navigator and press Ctrl+Enter.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found