免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1671 | 回复: 3
打印 上一主题 下一主题

BCP问题咨询 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-07-19 11:49 |只看该作者 |倒序浏览
我第一次做BCP,dbname T_JXC_ZJ,tablename SPFL,server ZHANGJ,系统是WIN2000,sybase 11.92。
我是这样做的:(没有加-c,-c是什么意思啊?)
D:\>;bcp T_JXC_ZJ..SPFL out D:\DATA\SPFL.TXT -S ZHANGJ -U sa -P
但是显示结果:
Enter the file storage type of field SPFL [char]:char
Enter prefix-length of field SPFL [0]:0
Enter length of field SPFL [12]: 12
Enter field terminator [none]: none

Enter the file storage type of field NAME [char]: char
Enter prefix-length of field NAME [0]: 0
Enter length of field NAME [30]: 30
Enter field terminator [none]: none

Enter the file storage type of field JJL [float]: float
Enter prefix-length of field JJL [1]: 1
Enter field terminator [none]: none

Enter the file storage type of field KCTS [smallint]: smallint
Enter prefix-length of field KCTS [1]: 1
Enter field terminator [none]: none

Do you want to save this format information in a file? [Y/n] n

Starting copy...
Server Message:  - Msg 2403, Level 10, State 0:
WARNING!  Some character(s) could not be converted into client'
Unconverted bytes were changed to question marks ('?').

426 rows copied.
Clock Time (ms.): total = 1  Avg = 0 (426000.00 rows per sec.)

哪位高手能帮给我说明说明,解释解释。谢谢拉!

论坛徽章:
0
2 [报告]
发表于 2004-07-19 12:20 |只看该作者

BCP问题咨询

D:\>;bcp T_JXC_ZJ..SPFL out D:\DATA\SPFL.TXT -S ZHANGJ -U sa -P -c

最后加个 -c,或者-n都可以的

论坛徽章:
4
2015年亚洲杯之阿联酋
日期:2015-03-10 10:32:022015年亚洲杯之阿曼
日期:2015-03-10 14:53:222015亚冠之水原三星
日期:2015-07-18 15:40:262015亚冠之塔什干棉农
日期:2015-07-27 20:52:05
3 [报告]
发表于 2004-07-19 13:04 |只看该作者

BCP问题咨询

-c是与平台无关
-n是本平台识别

论坛徽章:
0
4 [报告]
发表于 2004-07-19 13:58 |只看该作者

BCP问题咨询

原帖由 "1017of" 发表:
-c是与平台无关
-n是本平台识别


谢谢,-n 后面需要加不加什么东西啊?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP