Skip to content

Commit 5402239

Browse files
committed
Replace standalone Linux and macOS sqlcmd article
1 parent 721c074 commit 5402239

File tree

4 files changed

+261
-438
lines changed

4 files changed

+261
-438
lines changed

.openpublishing.redirection.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53443,7 +53443,12 @@
5344353443
},
5344453444
{
5344553445
"source_path": "docs/connect/odbc/linux/connecting-with-sqlcmd.md",
53446-
"redirect_url": "/sql/connect/odbc/linux-mac/connecting-with-sqlcmd",
53446+
"redirect_url": "/sql/tools/sqlcmd/sqlcmd-utility",
53447+
"redirect_document_id": false
53448+
},
53449+
{
53450+
"source_path": "docs/connect/odbc/linux-mac/connecting-with-sqlcmd.md",
53451+
"redirect_url": "/sql/tools/sqlcmd/sqlcmd-utility",
5344753452
"redirect_document_id": false
5344853453
},
5344953454
{

docs/connect/odbc/linux-mac/connecting-with-sqlcmd.md

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

docs/tools/bcp-utility.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: The bulk copy program (bcp) utility bulk copies data between an ins
44
author: rwestMSFT
55
ms.author: randolphwest
66
ms.reviewer: davidengel, markingmyname
7-
ms.date: 01/08/2025
7+
ms.date: 03/10/2025
88
ms.service: sql
99
ms.subservice: tools-other
1010
ms.topic: how-to
@@ -159,7 +159,7 @@ The following table lists the command-line options available in **bcp**, and whi
159159
| Command-line option | Supported on Windows | Supported on Linux and macOS |
160160
| --- | --- | --- |
161161
| **[\[*database_name*.\]](#database_name) [*schema*](#schema).{[*table_name*](#table_name) \| [*view_name*](#view_name) \| ["*query*"](#query)}** | Yes | Yes |
162-
| [**{[in](#in) [*data_file*](#data_file) \| [out](#out) [*data_file*](#data_file) \| [queryout](#queryout) [*data_file*](#data_file) \| [format](#format) nul}**]() | Yes | Yes |
162+
| **{[in](#in) [*data_file*](#data_file) \| [out](#out) [*data_file*](#data_file) \| [queryout](#queryout) [*data_file*](#data_file) \| [format](#format) nul}** | Yes | Yes |
163163
| [**-a *packet_size***](#-a-packet_size) | Yes | Yes |
164164
| [**-b *batch_size***](#-b-batch_size) | Yes | Yes |
165165
| [**-c**](#-c) | Yes | Yes |
@@ -289,7 +289,7 @@ A DSN can be used to:
289289
- enforce driver options that aren't otherwise accessible from the command line such as MultiSubnetFailover,
290290
- or to help protect sensitive credentials from being discoverable as command line arguments.
291291

292-
For more information, see *DSN Support in sqlcmd and bcp* in [Connecting with sqlcmd](../connect/odbc/linux-mac/connecting-with-sqlcmd.md).
292+
For more information, see [DSN support in sqlcmd and bcp](sqlcmd/sqlcmd-utility.md#dsn-support-in-sqlcmd-and-bcp).
293293

294294
#### -e *err_file*
295295

@@ -400,7 +400,7 @@ To check if your version of **bcp** includes support for Microsoft Entra authent
400400
bcp bcptest out "c:\last\data1.dat" -c -D -S myDSN -d testdb
401401
```
402402

403-
#### [Linux](#tab/linux)
403+
#### [Linux and macOS](#tab/linux)
404404

405405
Exporting data via **bcp** using a Managed Service Identity on Linux can be configured using a DSN.
406406

0 commit comments

Comments
 (0)