Documention enhancement on pyodbc+mssql connection strings

Issue #2217 resolved
Former user created an issue

Hello,

I think the doc on the pyodbc+mssql connection strings lacks an example on how to use the 'driver' keyword. Actually it might even concern every connection that uses the pyodbc connector. Or maybe it's somewhere in the doc and I have not found it ?

Anyway here is a modest patch which tries to fill that hole.

Comments (4)

  1. Mike Bayer repo owner

    I'm confused here, how is the new driver string you've added significantly different from the other three which also use "DRIVER=" ? Is it just "SQL Server" vs. "MyDriver" ? Isn't this more of a Pyodbc documentation issue ? IMHO that section is already excessively verbose - the arguments here are strictly a pass through to Pyodbc.

    Also I've never had to use the "DRIVER" parameter before. ODBC is best used with DSNs as it was designed.

  2. Log in to comment