bcp in 错误
?
用bcp導(dǎo)入時(shí),報(bào)如下錯(cuò)誤:
Starting copy...
CTLIB Message:? - L1/O2/S1/N24/1/0:
blk_rowxfer(): blk layer: internal BLK-Library error: No value or default value available and NULL not allowed.? col = 6
CTLIB Message:? - L1/O2/S1/N24/1/0:
blk_rowxfer(): blk layer: internal BLK-Library error: No value or default value available and NULL not allowed.? col = 6
CTLIB Message:? - L1/O2/S1/N24/1/0:
blk_rowxfer(): blk layer: internal BLK-Library error: No value or default value available and NULL not allowed.? col = 6
CTLIB Message:? - L1/O2/S1/N24/1/0:
blk_rowxfer(): blk layer: internal BLK-Library error: No value or default value available and NULL not allowed.? col = 6
CTLIB Message:? - L1/O2/S1/N24/1/0:
blk_rowxfer(): blk layer: internal BLK-Library error: No value or default value available and NULL not allowed.? col = 6
CTLIB Message:? - L1/O2/S1/N24/1/0:
blk_rowxfer(): blk layer: internal BLK-Library error: No value or default value available and NULL not allowed.? col = 6
CTLIB Message:? - L1/O2/S1/N24/1/0:
blk_rowxfer(): blk layer: internal BLK-Library error: No value or default value available and NULL not allowed.? col = 6
bcp copy in failed
0 rows copied.
Clock Time (ms.): total = 125
?
存在原因:數(shù)據(jù)庫(kù)中表的字段不能為空,并且沒有默認(rèn)值,但bcp里第6列有為空的值。
所以無法插入記錄。
轉(zhuǎn)載于:https://www.cnblogs.com/sky100/archive/2009/03/25/1421113.html
總結(jié)
- 上一篇: C#.net技术内幕04-集合
- 下一篇: pwd 命令编写