@@ -4,7 +4,7 @@ description: The bulk copy program (bcp) utility bulk copies data between an ins
4
4
author : rwestMSFT
5
5
ms.author : randolphwest
6
6
ms.reviewer : davidengel, markingmyname
7
- ms.date : 01/08 /2025
7
+ ms.date : 03/10 /2025
8
8
ms.service : sql
9
9
ms.subservice : tools-other
10
10
ms.topic : how-to
@@ -159,7 +159,7 @@ The following table lists the command-line options available in **bcp**, and whi
159
159
| Command-line option | Supported on Windows | Supported on Linux and macOS |
160
160
| --- | --- | --- |
161
161
| ** [ \[ * 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 |
163
163
| [ ** -a * packet_size*** ] ( #-a-packet_size ) | Yes | Yes |
164
164
| [ ** -b * batch_size*** ] ( #-b-batch_size ) | Yes | Yes |
165
165
| [ ** -c** ] ( #-c ) | Yes | Yes |
@@ -289,7 +289,7 @@ A DSN can be used to:
289
289
- enforce driver options that aren't otherwise accessible from the command line such as MultiSubnetFailover,
290
290
- or to help protect sensitive credentials from being discoverable as command line arguments.
291
291
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 ) .
293
293
294
294
#### -e * err_file*
295
295
@@ -400,7 +400,7 @@ To check if your version of **bcp** includes support for Microsoft Entra authent
400
400
bcp bcptest out "c:\last\data1.dat" -c -D -S myDSN -d testdb
401
401
```
402
402
403
- #### [ Linux] ( #tab/linux )
403
+ #### [ Linux and macOS ] ( #tab/linux )
404
404
405
405
Exporting data via ** bcp** using a Managed Service Identity on Linux can be configured using a DSN.
406
406
0 commit comments