author | ms.author | ms.date | ms.service | ms.topic | ms.collection | |
---|---|---|---|---|---|---|
rwestMSFT |
randolphwest |
03/06/2024 |
sql |
include |
|
sqlcmd (ODBC) can be installed cross-platform, on Microsoft Windows, macOS, and Linux.
:::image type="icon" source="../../../includes/media/download.svg" border="false"::: Download Microsoft Command Line Utilities 15 for SQL Server (x64)
:::image type="icon" source="../../../includes/media/download.svg" border="false"::: Download Microsoft Command Line Utilities 15 for SQL Server (x86)
The command line tools are General Availability (GA), however they're being released with the installer package for [!INCLUDE sql-server-2019].
- Release number: 15.0.4298.1
- Build number: 15.0.4298.1
- Release date: April 7, 2023
Note
The sqlcmd download provided here might not have the same release and build number as sqlcmd installed with the latest SQL Server cumulative update (CU). This is expected behavior. This version contains all the fixes included in the latest CU.
sqlcmd (ODBC) supports authentication with Microsoft Entra ID (formerly Azure Active Directory), including multifactor authentication (MFA) support for Azure SQL Database, Azure Synapse Analytics, and Always Encrypted features.
- Windows 7 through Windows 11
- Windows Server 2008 through Windows Server 2022
This component requires both the built-in Windows Installer 5 and the Microsoft ODBC Driver 17 for SQL Server.
See Install sqlcmd and bcp on Linux for instructions to install sqlcmd on Linux and macOS.