I'm using dbeaver to connect to multiple database, postgresql or MsSQL.
often, I need to query certain table to get the data, e.g. table 1 data from year 2016-2018. then copy the data into excel to further analysis. e.g. excel formula to sum all data.
is that posubble to access those in excel directly?
1. input DB credentials in excel
2. click connect
3. input table name or directly input sql commands
4. click get data
5. then data will be copied in next excel worksheet certain column. e.g. worksheet2 column C, column D.
sorry that I'm not familiar with vba,macro. hope can get some idea which method to use to achieve this. then I can start research the relevant codes and apply it.
thanks for the help.
Bookmarks