2006-10-24
还是换行符的错
bcp rls..client_ref_temp in c:\clientdata.txt -Snewcredit -Usa -P111111 -t "|" -r -c -Jcp850
报告说:
CSLIB Message: - L0/O0/S0/N24/1/0:
cs_convert: cslib user api layer: common library error: The conversion/operation was stopped due to a syntax error in the source field.
cs_convert: cslib user api layer: common library error: The conversion/operation was stopped due to a syntax error in the source field.
昨天侥幸发现自己没有加换行符 报告说Unexpected EOF encountered in BCP data-file.
还以为找到根本原因了呢,没料到今天还是报错。。。
还好还好,在朝曦帮忙之下,把他解决了。原因是 clientdata.txt的换行符是\r\n,而bcp默认的是\n,所以报错了,解决办法就是加上 -r "\r\n".
发表评论
- 浏览: 394567 次
- 性别:

- 来自: 上海

- 详细资料
搜索本博客
我的相册
Gmail
共 8 张
共 8 张
最新评论
-
JIRA不完全手册
楼主,发一份完整的资料给我吧 xwj1003@yahoo.com.cn
-- by volking -
java encoding参考
Good ,thanks.
-- by zuowei -
有多少异常可以重来
我今天也遇到这个问题,才搜到这个帖子~ 还没有解决,等恢复哦
-- by javamanlcy007 -
有多少异常可以重来
这个错误解决了,又抱了别的错误~
-- by iceworld4143 -
有多少异常可以重来
解释不太懂,我也遇到这个问题了,可是我没用ant。 :cry: 等回 ...
-- by iceworld4143






评论排行榜