小弟的项目是用MFC开发的
sql语句是"load data local infile \"C:/su.txt\" ignore into table XX character set gbk fields terminated by "," optionally enclosed by \"\\\"\" ignore 1 lines;"执行这条语句的时候跳出对话框Unhandled exception (myodbc5.DLL) : access violation。有没有高手知道这是怎么解决,江湖救急啊!
sql语句是"load data local infile \"C:/su.txt\" ignore into table XX character set gbk fields terminated by "," optionally enclosed by \"\\\"\" ignore 1 lines;"执行这条语句的时候跳出对话框Unhandled exception (myodbc5.DLL) : access violation。有没有高手知道这是怎么解决,江湖救急啊!
解决方案 »
- Mysql默认编码是latin1,插入中文乱码
- 续 MYSQL,如何OPTIMIZE TABLE几十GB以上的大表?
- linux下mysql如何查看back_log大小
- mysqlbinlog: error writing file 'unopened' <errcode:22>
- 这个需求怎样建表比较好?高分求教!!
- 疑惑的sql语句,求解。
- 表里面的记录被删掉了,但是表的尺寸还是没变
- MYSQL查询问题
- 取一个表中 某个字段的重复数据?
- 在JSP中用ROOT和空密码可以连接数据库,但是我添加一个全局用户,就会显示这样的错误,
- mysql使用Execute和直接执行select语句结果不相同!
- mysql if
把sql放到命令行里面可以正常执行,放到程序里面运行就报错
去掉就不能传到远端服务器了,su.txt文件在本地。
我的目的是把su.txt里面的文件load到远程服务器里面的mysql数据库里面