From 511964302467140a25fb50c68a1c96d24a079b80 Mon Sep 17 00:00:00 2001 From: Gord Thompson Date: Tue, 3 Dec 2019 17:02:19 -0700 Subject: [PATCH] Add note re: pyodbc keywords in lowercase. --- lib/sqlalchemy/dialects/mssql/pyodbc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/sqlalchemy/dialects/mssql/pyodbc.py b/lib/sqlalchemy/dialects/mssql/pyodbc.py index 954632eb2d..9ce6861c06 100644 --- a/lib/sqlalchemy/dialects/mssql/pyodbc.py +++ b/lib/sqlalchemy/dialects/mssql/pyodbc.py @@ -53,6 +53,8 @@ name must be URL encoded which means using plus signs for spaces:: Other keywords interpreted by the Pyodbc dialect to be passed to ``pyodbc.connect()`` in both the DSN and hostname cases include: ``odbc_autotranslate``, ``ansi``, ``unicode_results``, ``autocommit``. +Note that in order for the dialect to recognize these keywords +(including the ``driver`` keyword above) they must be all lowercase. Pass through exact Pyodbc string ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- 2.47.2