bcp.exe 错误
我在执行 bcp 时遇到以下错误:
#@ Row 1: CTLIB Message: - L0/O0/S0/N0/0/0:
blk_rowxfer(): blk layer: internal BLK-Library error: No value or default value available and NULL not allowed. col = 19 @#
#@ Row 1: Not transferred @#
2012-01-31 11:24:27 AM 201112 1 ASSET SWAP CGD (PTCG16OM0004) 9961500 104158.1743509 119789.165823456 15630.9914725559 10000000 440001251 -104267.3350867 -102094.0679096 2173.2671771 15630.9914725559 2173.2671771 17804.2586496559 0.852281316158969 NULL
问题是第 19 列是身份,但我在文件中没有它。为了解决这个问题,我使用了bcp -N 选项
。
我的命令是这样的:
bcp.exe tablename in filein -N -c -t \t\t -r \n -U user -P pass -S server -e errorFile
最奇怪的是它在一台机器上工作,但在另一台机器上不起作用。
我缺少什么?
I'm getting the following error doing bcp in:
#@ Row 1: CTLIB Message: - L0/O0/S0/N0/0/0:
blk_rowxfer(): blk layer: internal BLK-Library error: No value or default value available and NULL not allowed. col = 19 @#
#@ Row 1: Not transferred @#
2012-01-31 11:24:27 AM 201112 1 ASSET SWAP CGD (PTCG16OM0004) 9961500 104158.1743509 119789.165823456 15630.9914725559 10000000 440001251 -104267.3350867 -102094.0679096 2173.2671771 15630.9914725559 2173.2671771 17804.2586496559 0.852281316158969 NULL
The problem is that the 19th column is identity and I don't have it in the file. In order to solve this I used the bcp -N option
.
My command is this:
bcp.exe tablename in filein -N -c -t \t\t -r \n -U user -P pass -S server -e errorFile
And the most weird is that it works in one machine, but not in another.
What am I missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
其中之一是问题:
One of this was the problem: