---
title: "BCP"
author: "wfdoublext"
date: "2010-09-16T16:10:27Z"
tags: []
categories: ["数据库"]
slug: "bcp"
draft: false
lastmod: "2010-09-16T16:10:27Z"
id: 765003
url: "https://skyofdawn.iteye.com/blog/765003"
---

bcp trial\_dwh.dbo.MyBi\_FieldMaster in  D:\\MyBi\\MyBi\_FieldMasterBK.CSV  -S192.168.1.34 -Utrabi -Ptrabi -t"+|+" -c

bcp trial\_dwh.dbo.MyBi\_Master\_LevelValue in  D:\\MyBi\\MyBi\_Master\_LevelValueBK.CSV  -S192.168.1.34 -Utrabi -Ptrabi -t"+|+" -c

bcp trial\_dwh.dbo.MyBi\_MasterRelation in  D:\\MyBi\\MyBi\_MasterRelationBK.CSV  -S192.168.1.34 -Utrabi -Ptrabi -t"+|+" -c

bcp trial\_dwh.dbo.MyBi\_TableRelation in  D:\\MyBi\\MyBi\_TableRelationBK.CSV  -S192.168.1.34 -Utrabi -Ptrabi -t"+|+" -c

bcp trial\_dwh.dbo.M\_LOGIN\_PERMISSIONS in  D:\\MyBi\\M\_LOGIN\_PERMISSIONSBK.CSV  -S192.168.1.34 -Utrabi -Ptrabi -t"+|+" -c

pause

 

bcp "select * from m\_date" queryout D:\\m\_date.csv -S172.20.3.46 -Usps -Ps667s -t"|" -c

pause