This section collects a few details and gotchas related to specific database engines.
Sample DSN:
mssql://<username>:<password>@<host>:<port>/<db>?driver=ODBC+Driver+17+for+SQL+Server
When defining multiple queries on the same connection with MSSQL, the Multiple Active Result Sets (MARS) feature should be enabled for query results to be reported correctly.
This can be done via the MARS_Connection
parameter on the database DSN:
mssql://<username>:<password>@<host>:<port>/<db>?MARS_Connection=yes
In some cases an error about "The cursor's connection has been closed"
is
returned when fetching query results.
If this happens, setting autocommit: false
in database configuration should
solve it.
Sample DSN:
oracle://<username>:<password>@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = <hostname>)(PORT = <port>))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = <service>)))