Run selected script - without opening editor #4738
Comments
|
Any possible milestone? |
|
This is relatively big feature. |
|
Sorry, I was not trying to prioritize the ticket, but just commenting to make sure it was not forgotten. |
I found it by way of the good first issue label. Would you please clarify whether you think it is a good first issue? |
|
A suggestion: I suppose it might be quite easy to implement this as a command line parameter. Just like now you allow to execute tasks (which are very similar in nature to a sql script). |
|
I am only asking to provide a right click file within dbeaver ide and run script, without opening the sql script editing window. I don't think it will clash with EE version. |
|
This is especially useful when working with database dumps, which are usually large in size. If I want to import a db dump in dbeaver I would usually have to wait around 4 to 5 minutes for the editor to load after opening the sql file, only to then wait 4 to 5 minutes more after switching the database on which I would want to import this dump. |
|
Hello, I just tried to make this feature by myself. But I got caught in a cyclic dependency problem. Following is a sequence of my approach: I tried to find a way to execute SQL without 'SQLEditorHandlerExecute' class, but I couldn't make it. Could anyone have better approach to make this feature? Any advice would be appreciated! |
Some scripts are very big and editor will take long time to load into UI - for such scripts we save in drive and run them from workbench or some other tool - just by selecting the file and running it without loading it to editor.
Can we get that feature - probably in tools or some relevant location when we right click on the database name - to run the sql file on selected connection/DB instead of opening the file in editor.

Mysql:

The text was updated successfully, but these errors were encountered: