?
一. Bcp 錯誤
ct_connect(): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoints failed
Establishing connection failed.
無法連接遠程服務器
cs_convert: cslib user api layer: common library error: The conversion/operation was stopped due to a syntax error in the source field.
CSLIB Message: - L0/O0/S0/N36/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.
導入數據存在自增長列,但數據源不存在自增長列
blk_rowxfer(): blk layer: internal BLK-Library error: Data truncated while doing local character set conversion. col = 3
導入表對應的字段長度不足
ct_sendpassthru(): network packet layer: internal net library error: Net-Library operation terminated due to disconnect
CTLIB Message: - L5/O3/S5/N5/5/0:
字符集錯誤
二. Bcp 導入不同字符集數據
bcp in到字符集是utf8的數據庫時使用以下的參數,這樣就可以解決java程序使用utf8字符集看中文是亂碼的問題
bcp dbname..tabname in filename -Uxx -Pxx -Sxx -Jcp936 -c -Y
posted on 2006-09-20 11:45
水煮三國 閱讀(2281)
評論(0) 編輯 收藏 所屬分類:
Database