title | description | author | ms.author | ms.reviewer | ms.date | ms.service | ms.subservice | ms.topic |
---|---|---|---|---|---|---|---|---|
Python SQL Driver - pyodbc |
This guide describes installing Python, the ODBC Driver for SQL Server, and pyodbc. The corresponding sample code shows how to connect to and interact with a SQL database. |
David-Engel |
davidengel |
vanto |
09/12/2024 |
sql |
connectivity |
conceptual |
Use the pyodbc
driver to connect to a SQL database from Python code. This series of articles provides step-by-step guidance for installing and using this Python SQL driver.
- Step 1: Configure development environment for pyodbc Python development
- Step 2: Create a SQL database for pyodbc Python development
- Step 3: Proof of concept connecting to SQL using pyodbc
PyODBC is community-supported software. Microsoft contributes to the pyODBC open-source community and is an active participant in the repository at https://github.com/mkleehammer/pyodbc/. However, this software doesn't come with Microsoft support.
Tip
To get help, file an issue in the pyODBC GitHub repository or visit other Python community resources.
[!div class="nextstepaction"] Step 1: Configure development environment for pyodbc Python development