cmoog / vscode-sql-notebook

Open SQL files as VSCode Notebooks.
https://marketplace.visualstudio.com/items?itemName=cmoog.sqlnotebook
MIT License
119 stars 16 forks source link

ODBC or JDBC support?? #60

Open jimrandell opened 1 year ago

jimrandell commented 1 year ago

I LOVE this!!! So how ungrateful would I be to request ODBC and/or JDBC support?

I use dbeaver because it handles just about anything ODBC/JDBC, but boy, would I love to store my sippets in notebooks in my node projects in vscode, and just run them whenever.

sschneider-ihre-pvs commented 1 year ago

relates to #1

vbdevpro commented 4 months ago

I second this request. Adding simple JDBC\ODBC would make this extension the best SQL Query tool available for VS Code and open it up to any RDBMS system that offers ODBC (which is pretty much all of them).

vbdevpro commented 4 months ago

relates to #1

Adding a driver for ODBC sources is not the same as Oracle. I do not believe this is related. Closing the Oracle request should not close this one. Separate issue entirely.

cmoog commented 4 months ago

I'd welcome a contribution in this area. Most of the work will be adding a driver implementation to https://github.com/cmoog/vscode-sql-notebook/blob/a0fea8ce8808c86c683cc5b3dd634cc0af242897/src/driver.ts

jimrandell commented 3 months ago

I'm jammed up for the next few weeks, but when things loosen up, will take a look at https://github.com/cmoog/vscode-sql-notebook/blob/a0fea8ce8808c86c683cc5b3dd634cc0af242897/src/driver.ts, and see if there is anything i could do! (I miss Chicago!!! I lived in Wrigleyville from 90-96 before moving to SF)

rubensa commented 2 weeks ago

Looks like something like:

might be used here.

rubensa commented 2 weeks ago

More alternatives:

And for the ODB support, looks like this might be the way to go: