Skip to content

Commit 6644404

Browse files
authored
Remove mssql-cli (#36695)
1 parent 5f45471 commit 6644404

7 files changed

Lines changed: 9 additions & 100 deletions

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47780,6 +47780,11 @@
4778047780
"redirect_url": "/previous-versions/sql/2014/tools/osql-utility",
4778147781
"redirect_document_id": false
4778247782
},
47783+
{
47784+
"source_path": "docs/tools/mssql-cli.md",
47785+
"redirect_url": "/sql/tools/sqlcmd/sqlcmd-utility",
47786+
"redirect_document_id": false
47787+
},
4778347788
{
4778447789
"source_path": "docs/2014/tools/profiler-utility.md",
4778547790
"redirect_url": "/previous-versions/sql/2014/tools/profiler-utility",

docs/linux/includes/quickstart-connect-query.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.custom:
1010
---
1111
## Connect locally
1212

13-
The following steps use **sqlcmd** to locally connect to your new [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance.
13+
The following steps use the [sqlcmd utility](../../tools/sqlcmd/sqlcmd-utility.md) to locally connect to your new [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance. [Download and install the sqlcmd utility](../../tools/sqlcmd/sqlcmd-download-install.md) for Windows, Linux and macOS.
1414

1515
> [!CAUTION]
1616
> [!INCLUDE [password-complexity](password-complexity.md)]
@@ -22,7 +22,7 @@ The following steps use **sqlcmd** to locally connect to your new [!INCLUDE [ssn
2222
```
2323

2424
> [!NOTE]
25-
> Newer versions of **sqlcmd** are secure by default. For more information about connection encryption, see [sqlcmd utility](../../tools/sqlcmd/sqlcmd-utility.md) for Windows, and [Connecting with sqlcmd](../../connect/odbc/linux-mac/connecting-with-sqlcmd.md) for Linux and macOS. If the connection doesn't succeed, you can add the `-No` option to **sqlcmd** to specify that encryption is optional, not mandatory.
25+
> Newer versions of **sqlcmd** are secure by default. For more information about connection encryption, see [sqlcmd utility](../../tools/sqlcmd/sqlcmd-utility.md) for Windows, Linux and macOS. If the connection doesn't succeed, you can add the `-No` option to **sqlcmd** to specify that encryption is optional, not mandatory.
2626
2727
You can omit the password on the command line to be prompted to enter it.
2828

@@ -137,7 +137,6 @@ In addition to **sqlcmd**, you can use the following cross-platform tools to man
137137
| --- | --- |
138138
| [Visual Studio Code](../../tools/visual-studio-code-extensions/mssql/connect-database-visual-studio-code.md) | A cross-platform GUI code editor that runs Transact-SQL statements with the [MSSQL extension](../../tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code.md). |
139139
| [PowerShell](../sql-server-linux-manage-powershell-core.md) | A cross-platform automation and configuration tool based on cmdlets. |
140-
| [mssql-cli](https://github.com/dbcli/mssql-cli/tree/master/doc) | A cross-platform command-line interface for running Transact-SQL commands. |
141140

142141
## Connect from Windows
143142

docs/linux/quickstart-install-connect-docker.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,6 @@ Other common tools to connect to [!INCLUDE [ssnoversion-md](../includes/ssnovers
15341534

15351535
- [MSSQL extension for Visual Studio Code](../tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code.md)
15361536
- [SQL Server Management Studio](sql-server-linux-manage-ssms.md)
1537-
- [mssql-cli (Preview)](https://github.com/dbcli/mssql-cli/blob/master/doc/usage_guide.md)
15381537
- [PowerShell](sql-server-linux-manage-powershell-core.md)
15391538

15401539
## Remove your container

docs/linux/sql-server-linux-faq.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ sections:
6666
6767
1. **How do I verify the installed version and edition of SQL Server on Linux?**
6868
69-
Connect to the SQL Server instance with a client tool such as **sqlcmd**, **mssql-cli**, or Visual Studio Code. Then run the following Transact-SQL query to verify the version and edition of SQL Server that you are running:
69+
Connect to the SQL Server instance with a client tool such as the [sqlcmd utility](../tools/sqlcmd/sqlcmd-utility.md), or Visual Studio Code. Then run the following Transact-SQL query to verify the version and edition of SQL Server that you are running:
7070
7171
```sql
7272
SELECT @@VERSION
@@ -107,7 +107,7 @@ sections:
107107
108108
1. **Are commands like sqlcmd and bcp available on Linux?**
109109
110-
Yes, [sqlcmd and bcp](sql-server-linux-setup-tools.md) are natively available on Linux, macOS, and Windows. In addition, use the new [mssql-scripter](https://github.com/Microsoft/mssql-scripter) command-line tool on Linux, macOS, or Windows to generate T-SQL scripts for your SQL database running anywhere. Also, see the preview release for [mssql-cli](https://blogs.technet.microsoft.com/dataplatforminsider/2017/12/12/try-mssql-cli-a-new-interactive-command-line-tool-for-sql-server/).
110+
Yes, [sqlcmd and bcp](sql-server-linux-setup-tools.md) are natively available on Linux, macOS, and Windows. In addition, use the new [mssql-scripter](https://github.com/Microsoft/mssql-scripter) command-line tool on Linux, macOS, or Windows to generate T-SQL scripts for your SQL database running anywhere.
111111
112112
1. **Is it possible to view Activity Monitor when connected through SSMS on Windows for an instance running on Linux?**
113113

docs/linux/sql-server-linux-management-overview.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ The Named Pipes protocol isn't supported for [!INCLUDE [ssnoversion-md](../inclu
3737

3838
SQL Server Management Studio (SSMS) is a Windows application that provides a graphical user interface for managing [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)]. Although it currently runs only on Windows, you can use it to remotely connect to your Linux [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] instances. For more information on using SSMS to manage [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)], see [Use SQL Server Management Studio on Windows to manage SQL Server on Linux](sql-server-linux-manage-ssms.md).
3939

40-
## mssql-cli (preview)
41-
42-
Microsoft has released a new cross-platform scripting tool for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)], [mssql-cli](https://www.microsoft.com/sql-server/blog/2017/12/12/try-mssql-cli-a-new-interactive-command-line-tool-for-sql-server). This tool is currently in preview.
43-
4440
## PowerShell
4541

4642
PowerShell provides a rich command-line environment to manage [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Linux. For more information, see [Use PowerShell on Windows to manage SQL Server on Linux](sql-server-linux-manage-powershell.md).

docs/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8172,8 +8172,6 @@ items:
81728172
- name: Command prompt utilities
81738173
href: tools/command-prompt-utility-reference-database-engine.md
81748174
items:
8175-
- name: mssql-cli
8176-
href: tools/mssql-cli.md
81778175
- name: osql
81788176
href: tools/osql-utility.md
81798177
- name: Profiler utility

docs/tools/mssql-cli.md

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)