
Download and Install the sqlcmd Utility - SQL Server
Nov 18, 2025 · Learn how to download, install, or find the sqlcmd utility preinstalled on your system.
Install, Configure, or Uninstall SQL Server on Windows from the …
Nov 18, 2025 · Installing, upgrading, or removing an instance and shared components of SQL Server on a local computer by using syntax and parameters specified from the command prompt.
Run Transact-SQL Commands with the sqlcmd Utility - SQL Server
Nov 18, 2025 · The sqlcmd utility lets you enter Transact-SQL statements, system procedures, and script files using different modes, using go-mssqldb or ODBC to run T-SQL batches.
mssql-cli - SQL Server | Microsoft Learn
6 days ago · mssql-cli is an interactive command-line query tool for SQL Server that runs on Windows, macOS, or Linux.
Use sqlcmd - SQL Server | Microsoft Learn
Nov 18, 2025 · Learn how to use the sqlcmd for ad hoc interactive execution of Transact-SQL statements and scripts, and automate Transact-SQL scripting tasks.
Start the sqlcmd Utility - SQL Server | Microsoft Learn
Nov 18, 2025 · Learn how to start the sqlcmd utility, which lets you enter Transact-SQL statements, system procedures, and script files, in SQLCMD mode or in scripts and jobs.
osql Utility - SQL Server | Microsoft Learn
Apr 3, 2023 · In SQL Server, the osql utility lets you enter Transact-SQL statements, system procedures, and script files. Osql uses ODBC to communicate with the server.
Install the sqlcmd and bcp SQL Server command-line tools on Linux
Aug 21, 2025 · Learn how to install the SQL Server command-line tools, Microsoft ODBC drivers, and their dependencies on Linux.
Bulk Copy with bcp Utility - SQL Server | Microsoft Learn
For information about where to find or how to run the bcp utility and about the command prompt utilities syntax conventions, see SQL command-line utilities (Database Engine).
Installing Updates from the Command Prompt - SQL Server
Jun 4, 2025 · This article describes command syntax for SQL Server update installation. You can test and modify installation scripts to meet the needs of your organization.