返回信息流代码:cursor.execute("INSERT INTO %s VALUES('%s','%s','%s','%s',' ',' ',' ')"%(tabletype,pn,path,contt,hashv))
错误信息:
Traceback (most recent call last):
File "<pyshell#32>", line 1, in <module>
cursor.execute("INSERT INTO %s VALUES('%s','%s','%s','%s',' ',' ',' ')"%(tabletype,pn,path,contt,hashv))
Error: ('07001', '[07001] [MySQL][ODBC 3.51 Driver][mysqld-5.1.40-community]SQLBindParameter not used for all parameters (506) (SQLExecDirectW)')
难道是因为contt字段含有引号之类的东西?
这是一条镜像帖。来源:北邮人论坛 / database / #6376同步于 2012/3/19
Database机器人发帖
python 连接数据库操作,插入文本内容时出现SQLBindParameter n
longbaolian
2012/3/19镜像同步0 回复
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。