Import and export with BCP

How to import and export table data with BULK COPY.

An export example

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