Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.45 KB

File metadata and controls

43 lines (28 loc) · 1.45 KB
title Python driver for SQL Server
description Connect to a SQL Database using one of the available Python drivers on your preferred operating system.
author David-Engel
ms.author v-davidengel
ms.date 08/22/2023
ms.service sql
ms.subservice connectivity
ms.topic conceptual

Python SQL driver

You can connect to a SQL Database using Python on Windows, Linux, or macOS.

Getting started

There are several python SQL drivers available. However, Microsoft places its testing efforts and its confidence in pyodbc driver. Choose one of the following drivers, and configure your development environment:

Documentation

For documentation, see Python documentation at Python.org.

Community

Samples

Explore samples that use Python to connect to an SQL database in the following articles:

Next steps

Get started with one of the libraries (drivers).