Microsoft Certified IT Professional Rudi Bruchez EI Microsoft Certified IT Professional

Rudi Bruchez EI · www.pachadata.com · rudi@pachadata.com · +33 6 22 48 76 99
Consulting, audit, performance tuning, solutions, training
SQL Server OLTP and BI / NoSQL

Version of October 14, 2026 (ecffad59) · https://www.pachadata.com/en/docs/howtos/administration/bcp/

Exporting a table with BCP

An example of exporting a table with the bcp command-line utility: integrated authentication (-T) and native format (-n) for SQL Server.

An export example

bcp mydatabase.dbo.mytable OUT mytable.bcp -T -n
OptionMeaning
-TIntegrated authentication
-nNative format, for importing back into SQL Server

Contact

I have been an independent SQL Server consultant since 2006. I help when an application slows down, when a server costs too much in storage or licenses, or when a migration must not stop production: audit and diagnosis, query and index tuning, migrations, high availability, training. On site, or as a remote audit delivered in five working days.

rudi@pachadata.com · +33 6 22 48 76 99 · www.pachadata.com/en/contact/