BCP

bcp  "select top(10000)* from TableName" queryout g:\query.dat -c -S [IP] -U [UserName] -P [Password]

 

bcp [database].dbo.[Tablename] out g:\query.dat -c -S [IP] -U [UserName] -P [Password]

 

posted @ 2020-11-04 11:12  qiumc  阅读(175)  评论(0编辑  收藏  举报