| title | Python SQL Driver - pyodbc |
|---|---|
| description | 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 an SQL database. |
| author | David-Engel |
| ms.author | v-davidengel |
| ms.date | 08/22/2023 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | conceptual |
Use the pyodbc driver to connect to an 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 an 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