About 51 results
Open links in new tab
  1. python - How to connect to SQL using Pyodbc - Stack Overflow

    Aug 27, 2022 · How to connect to SQL using Pyodbc Asked 3 years, 5 months ago Modified 4 months ago Viewed 12k times

  2. Retrieving Data from SQL Using pyodbc - Stack Overflow

    I am trying to retrieve data from an SQL server using pyodbc and print it in a table using Python. However, I can only seem to retrieve the column name and the data type and stuff like that, not the

  3. python pyodbc : how to connect to a specific instance

    Am trying to connect to a specific instance of SQL Server and get some data from system tables. Am connecting using this code snippet: connSqlServer = pyodbc.connect('DRIVER={SQL Server Native …

  4. ModuleNotFoundError: No module named 'pyodbc' when importing …

    import pyodbc as pyodbc ModuleNotFoundError: No module named 'pyodbc' (where line 5 is the 'import pyodbc' line) I have tried copying the pyodbc.cp37-win_amd64.pyd file into my Python Scripts folder …

  5. python - Connecting to ODBC using pyODBC - Stack Overflow

    Jun 15, 2015 · I've read all the faq pages from the python odbc library as well as other examples and managed to connect to the DSN, using the following code: cnxn = …

  6. return column names from pyodbc execute () statement

    Jun 13, 2015 · return column names from pyodbc execute () statement Asked 13 years, 4 months ago Modified 6 years, 6 months ago Viewed 97k times

  7. how do you connect to oracle using pyodbc - Stack Overflow

    I am trying to connect to Oracle db using pyodbc, getting errors. The examples include ms sql server driver: in my /etc/unixODBC/odbc.ini, I have this entry: [test_con] Driver=Oracle Description=...

  8. pyodbc INSERT FROM CSV stopped working in Access - "Operation not ...

    Dec 11, 2025 · 3 I recently (as of November 2025) had some working SQL via pyODBC to import an existing CSV file to a table in an Access database.

  9. python - PYODBC--Data source name not found and no default driver ...

    Sep 5, 2017 · import pyodbc connection = pyodbc.connect('Driver = {SQL Server};Server=ServerName;' 'Database=Database_Name;Trusted_Connection=yes;') In place of Driver = {SQL Server} we can try …

  10. How can I install pyodbc on Windows for use with Python 3.8?

    11 Currently, pyodbc on PiPI (pyodbc 4.0.27) does not have wheel files for Python 3.8, so when you do pip install pyodbc pip will try to build pyodbc from source. You don't need C++ redistributables for …