Skip to content

Commit

Permalink
Merge pull request #149 from alan-turing-institute/sql-server
Browse files Browse the repository at this point in the history
Add instructions for SQL Server
  • Loading branch information
mhauru authored Oct 2, 2023
2 parents 73044ce + aaab007 commit 969f761
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ Which DBMSs does SqlSynthGen support?
* SqlSynthGen most fully supports **PostgresSQL**, which it uses for its end-to-end functional tests.
* SqlSynthGen also supports **MariaDB**, as long as you don't set ``use-asyncio: true`` in your config.
* SqlSynthGen *might*, work with **SQLite** but this is largely untested.
* SqlSynthGen may also work with SQL Server.
To connect to SQL Server, you will need to install `pyodbc <https://pypi.org/project/pyodbc/>`_ and an `ODBC driver <https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16>`_, after which you should be able to use a DSN setting similar to ``SRC_DSN="mssql+pyodbc://username:password@hostname/dbname?driver=ODBC Driver 18 for SQL Server"``.

Please open a GitHub issue if you would like to see support for another DBMS.

0 comments on commit 969f761

Please sign in to comment.