bcp 问题总结

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导入表对应的字段长度不足。bcp in到字符集是utf8的数据库时使用以下的参数,这样就可以解决java程序使用utf8字符集看中文是乱码的问题bcp dbname..tabname in filename -Uxx -Pxx -Sxx -Jcp936 -c -Y.

你可能感兴趣的:(C++,c,C#)