Exporter une table avec BCP

Exemple d’export d’une table avec l’utilitaire bcp en ligne de commande : authentification intégrée (-T) et format natif (-n) pour SQL Server.

Exemple d’exportation

bcp base.dbo.table OUT table.bcp -T -n
OptionExplication
-TAuthentification intégrée
-nformat natif, pour importer dans SQL Server