Download ODBC Driver for SQL Server
Applies to: SQL Server (all supported versions) Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Parallel Data Warehouse
Microsoft ODBC Driver for SQL Server is a single dynamic-link library (DLL) containing run-time support for applications using native-code APIs to connect to SQL Server. Use Microsoft ODBC Driver 17 for SQL Server to create new applications or enhance existing applications that need to take advantage of newer SQL Server features.
Download for Windows
The redistributable installer for Microsoft ODBC Driver 17 for SQL Server installs the client components, which are required during run time to take advantage of newer SQL Server features. It optionally installs the header files needed to develop an application that uses the ODBC API. Starting with version 17.4.2, the installer also includes and installs the Microsoft Active Directory Authentication Library (ADAL.dll).
Version 17.6.1 is the latest general availability (GA) version. If you have a previous version of Microsoft ODBC Driver 17 for SQL Server installed, installing 17.6.1 upgrades it to 17.6.1.
Download Microsoft ODBC Driver 17 for SQL Server (x64)
Download Microsoft ODBC Driver 17 for SQL Server (x86)
Version information
If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the US-English version of the site. You can download different languages from the US-English version site by selecting available languages.
Available languages
This release of Microsoft ODBC Driver for SQL Server can be installed in the following languages:
Release notes for Windows
For details about this release on Windows, see the Windows release notes.
Previous releases for Windows
Download for Linux and macOS
The Microsoft ODBC Driver for SQL Server can be downloaded and installed using package managers for Linux and macOS using the relevant installation instructions:
Install ODBC for SQL Server (Linux)
Install ODBC for SQL Server (macOS)
If you need to download the packages for offline installation, all versions are available via the below links.
Packages named msodbcsql17-* are the latest version. Packages named msodbcsql-* are version 13 of the driver.
Скачивание драйвера ODBC Driver for SQL Server Download ODBC Driver for SQL Server
Применимо к: Applies to: SQL Server SQL Server (все поддерживаемые версии) SQL Server SQL Server (all supported versions) База данных SQL Azure Azure SQL Database База данных SQL Azure Azure SQL Database Управляемый экземпляр SQL Azure Azure SQL Managed Instance Управляемый экземпляр SQL Azure Azure SQL Managed Instance Azure Synapse Analytics Azure Synapse Analytics Azure Synapse Analytics Azure Synapse Analytics Параллельное хранилище данных Parallel Data Warehouse Параллельное хранилище данных Parallel Data Warehouse Применимо к: Applies to: SQL Server SQL Server (все поддерживаемые версии) SQL Server SQL Server (all supported versions) База данных SQL Azure Azure SQL Database База данных SQL Azure Azure SQL Database Управляемый экземпляр SQL Azure Azure SQL Managed Instance Управляемый экземпляр SQL Azure Azure SQL Managed Instance Azure Synapse Analytics Azure Synapse Analytics Azure Synapse Analytics Azure Synapse Analytics Параллельное хранилище данных Parallel Data Warehouse Параллельное хранилище данных Parallel Data Warehouse
Microsoft ODBC Driver for SQL Server — это отдельная библиотека динамической компоновки (DLL), которая содержит поддержку времени выполнения для приложений, использующих API машинного кода для подключения к SQL Server. Microsoft ODBC Driver for SQL Server is a single dynamic-link library (DLL) containing run-time support for applications using native-code APIs to connect to SQL Server. Используйте Microsoft ODBC Driver 17 for SQL Server для создания новых и расширения существующих приложений, которым необходимо использовать новые возможности SQL Server. Use Microsoft ODBC Driver 17 for SQL Server to create new applications or enhance existing applications that need to take advantage of newer SQL Server features.
Скачать для Windows Download for Windows
Распространяемый установщик Microsoft ODBC Driver for SQL Server версии 17 устанавливает клиентские компоненты, необходимые во время выполнения, чтобы воспользоваться преимуществами функциями нового SQL Server. The redistributable installer for Microsoft ODBC Driver 17 for SQL Server installs the client components, which are required during run time to take advantage of newer SQL Server features. При необходимости он устанавливает файлы заголовков, которые требуются для разработки приложения, использующего API ODBC. It optionally installs the header files needed to develop an application that uses the ODBC API. Начиная с версии 17.4.2, установщик также включает и устанавливает библиотеку проверки подлинности Microsoft Active Directory (ADAL.dll). Starting with version 17.4.2, the installer also includes and installs the Microsoft Active Directory Authentication Library (ADAL.dll).
Версия 17.6.1 является последней общедоступной версией. Version 17.6.1 is the latest general availability (GA) version. Если у вас установлена предыдущая версия, Microsoft ODBC Driver for SQL Server версии 17, то при установке версии 17.6.1 она обновляется до версии 17.6.1. If you have a previous version of Microsoft ODBC Driver 17 for SQL Server installed, installing 17.6.1 upgrades it to 17.6.1.
Скачать Microsoft ODBC Driver for SQL Server версии 17 (x64) Download Microsoft ODBC Driver 17 for SQL Server (x64)
Скачать Microsoft ODBC Driver for SQL Server версии 17 (x86) Download Microsoft ODBC Driver 17 for SQL Server (x86)
Сведения о версии Version information
- Номер выпуска: 17.6.1.1 Release number: 17.6.1.1
- Выпущено: 31 июля 2020 г. Released: July 31, 2020
Если вы открываете локализованную версию этой страницы и хотите просмотреть актуальные материалы, посетите эту страницу на версии сайта на языке US-English. If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the US-English version of the site. С версии сайта US-English вы можете скачать SSMS на других языках из числа доступных. You can download different languages from the US-English version site by selecting available languages.
Доступные языки Available languages
Этот выпуск драйвера Microsoft ODBC Driver for SQL Server доступен для установки на следующих языках: This release of Microsoft ODBC Driver for SQL Server can be installed in the following languages:
Заметки о выпуске для Windows Release notes for Windows
Дополнительные сведения об этом выпуске для Windows см. в заметках о выпуске для Windows. For details about this release on Windows, see the Windows release notes.
Предыдущие выпуски для Windows Previous releases for Windows
Чтобы скачать предыдущие версии для Windows, см. страницу с предыдущими выпусками Microsoft ODBC Driver for SQL Server. To download previous releases for Windows, see previous Microsoft ODBC Driver for SQL Server releases.
Загрузка для Linux и macOS Download for Linux and macOS
Microsoft ODBC Driver for SQL Server можно скачать и установить с помощью диспетчеров пакетов для Linux и macOS, используя соответствующие инструкции по установке. The Microsoft ODBC Driver for SQL Server can be downloaded and installed using package managers for Linux and macOS using the relevant installation instructions:
Установка ODBC для SQL Server (Linux) Install ODBC for SQL Server (Linux)
Установка ODBC для SQL Server (macOS) Install ODBC for SQL Server (macOS)
Если необходимо скачать пакеты для автономной установки, все версии доступны по следующим ссылкам. If you need to download the packages for offline installation, all versions are available via the below links.
Пакеты с именем msodbcsql17-* являются последней версией. Packages named msodbcsql17-* are the latest version. Пакеты с именем msodbcsql-* являются версией 13 драйвера. Packages named msodbcsql-* are version 13 of the driver.
Microsoft ODBC Driver for SQL Server Microsoft ODBC Driver for SQL Server
Версия: 17.6.1.1 Дата: 31 июля 2020 г. Version: 17.6.1.1 Date: July 31st 2020
Скачать драйвер ODBC Download ODBC Driver
ODBC — это основной собственный интерфейс API для доступа к данным, предназначенный для приложений, написанных на языках C и C++ для SQL Server. ODBC is the primary native data access API for applications written in C and C++ for SQL Server. Драйвер ODBC существует для большинства источников данных. There is an ODBC driver for most data sources. К другим языкам, которые могут использовать ODBC, относятся COBOL, Perl, PHP и Python. Other languages that can use ODBC include COBOL, Perl, PHP, and Python. ODBC активно применяется для интеграции данных. ODBC is widely used in data integration scenarios.
Драйвер ODBC поставляется с такими средствами как sqlcmd и bcp. The ODBC driver comes with tools such as sqlcmd and bcp. Служебная программа sqlcmd позволяет выполнять инструкции Transact-SQL, системные процедуры и сценарии SQL. The sqlcmd utility lets you run Transact-SQL statements, system procedures, and SQL scripts. Служебная программа bcp используется для массового копирования данных в нужном вам формате между экземпляром Microsoft SQL Server и файлом данных. The bcp utility bulk copies data between an instance of Microsoft SQL Server and a data file in a format you choose. Также можно использовать bcp для импорта большого количества новых строк в таблицы SQL Server или экспорта данных из таблиц в файлы данных. You can use bcp to import many new rows into SQL Server tables or to export data out of tables into data files.
Пример кода на C++ Code example in C++
В следующем примере на C++ показано, как использовать интерфейсы API ODBC для подключения и доступа к базе данных: The following C++ sample demonstrates how to use the ODBC APIs to connect to and access a database: