
Download and Install the sqlcmd Utility - SQL Server
Aug 27, 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 …
Installing, upgrading, or removing an instance and shared components of SQL Server on a local computer by using syntax and parameters specified at the command prompt.
Run Transact-SQL Commands with the sqlcmd Utility - SQL Server
Jul 4, 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.
Use sqlcmd - SQL Server | Microsoft Learn
Jul 2, 2025 · Learn how to use the sqlcmd for ad hoc interactive execution of Transact-SQL statements and scripts, and automate Transact-SQL scripting tasks.
mssql-cli - SQL Server | Microsoft Learn
Mar 14, 2024 · mssql-cli is an interactive command-line query tool for SQL Server that runs on Windows, macOS, or Linux.
Start the sqlcmd Utility - SQL Server | Microsoft Learn
Jul 4, 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.
Bulk Copy with bcp Utility - SQL Server | Microsoft Learn
Aug 27, 2025 · 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).
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 …
Aug 20, 2025 · Learn how to install the SQL Server command-line tools, Microsoft ODBC drivers, and their dependencies on Linux.
Run an SSIS package from the command prompt - SQL Server …
Feb 28, 2023 · Applies to: SQL Server SSIS Integration Runtime in Azure Data Factory This quickstart demonstrates how to run an SSIS package from the command prompt by running …