Open surpavan opened 5 years ago
Now, when we can create SQL script tasks it will be quite easy to add multiple connections support in it.
Now, when we can create SQL script tasks it will be quite easy to add multiple connections support in it.
Looking forward for it.
I do not see tasks as scripts, they are more of routine jobs. The issue is that since all the connections are stored in DBBeader, we should be able to type a line to connect to that db and run the below query till the disconneciton line. So everything is in one script. Jobs are more like task schedulers to run a script, but with the above, it would be like a sql language
@surpavan Yep, tasks is a different feature.
This feature may be solved by adding new command like
@connect ConnectionName
@connect ConnectionName
yup and@disconnect
I would like to help too, but unfortunately I am not into java.
Script Runner Since Dbeaver takes many databases now, It might be a good time to add inline DBConnect and Disconnect features - this will help in making a single script that can handle more than one database in a single script.
Example: DBeaver:Connect-MySQLSampleDB some out file sql script DBeaver:DisConnect-MySQLSampleDB
DBeaver:Connect-MySQLProdDB load from infile sql script DBeaver:DBConnect-MySQLProdDB
In long runs add the save as csv etc inline DBeaver codes with which simple ETL jobs can be handled in SQL code itself.