我正在尝试通过c#代码将csv导入postgres查询是我猜对了但是我收到了错误:
无法执行查询!错误:22P02:无效的输入语法 输入数字:“”1“
我的代码是:
string identification_client = "COPY identification_des_documents_complementaires_export (cle_ref,TRANSPORTEUR, Mode_transport, Code_Pays_ISO_3, Ref_Doc, Nb_Exp) FROM 'E:/MDE/KMP/App_Data/CSV/test_alpha/identification_des_documents_complementaires_export.csv' WITH DELIMITER ',' ";
csv文件中包含此http://prntscr.com/9p22rp 并且数据库具有以下列http://prntscr.com/9p22vp
如何修复,以免我再次出现此错误。