sql bcp 笔记

介绍:

http://blog.csdn.net/soudog/article/details/4343415

导出格式

BCP NTS.dbo.T_User format nul -f c:/User_format2.fmt -x -c -T --把表结构信息导出XML中

导入数据时,使用格式定义

BCP NTS.dbo.T_User in c:/User1.txt -F 10 -L 13 -c -x -f c:/User_format2.fmt -T --使用XML格式的格式文件 

原文地址:https://www.cnblogs.com/newsea/p/4623733.html