救命啊!!!!bcp导入问题。
公司有Unix,windows2000的sybase,用PB写的一个录入程序将所有的信息都录入了并导入到了Unix上的sybase,没有任何问题,但却在将该表中的数据导出来后,我想把它们导入到windows版的sybase同样结构的表中时却总是出错:
所用命令:
导出:bcp table_name out data1.txt -c -t"|" -r"\n" -Uusr -Ppassword
导入:bcp table_name in data1.txt -c -t"|" -r"\n" -Uusr -Ppassword
错误如下:
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 in the source field.
bcp copy in failed
以前导入数据到其他表没有遇到这种问题。该表中有日期型字段,不知道是不是原因在这里??
还请高手不吝赐教。。