踩坑记录:

当出现如下错误

  Not enough parameters for the SQL statement

多半是因为插入时填写的字段名有误

  json.decoder.JSONDecodeError: Extra data: line 1 column 362730 (char 362729)

这样情况是因为解析json时数据格式不对

  Python type list cannot be converted  或者  Python type tuple cannot be converted

在批量导入sql时json数据中含有不能解析的数据,比如tuple内容里有list

  Not all parameters were used in the SQL statement

当看到这个问题,很可能是你添加的数据字段长短不一,例如添加29个字段数据结果是30个

  Not enough parameters for the SQL statement

这个是因为参数不足,检查sql语句的values

  local variable 'sql' referenced before assignment

sql语句的插入内容为空

最新文章

  1. 《动手实现一个网页加载进度loading》
  2. RecyclerView 滑动检测 (上滑 up)(下滑 down)(顶部 top)(底部 bottom)
  3. JMeter使用点滴
  4. CodeForces 468A Program F
  5. JAVA if条件语句,switch多分支结构,与逻辑运算符
  6. MongoDB - MongoDB CRUD Operations, Query Documents
  7. 采用keepalived施工可用性MySQL-HA
  8. Eclipse正确导入第三方project
  9. Hibernate中的主键生成器generator
  10. Delphi工程版本号修改工具
  11. 从实战出发,谈谈 nginx 信号集
  12. 各种手工DIY
  13. Shell学习之条件测试(四)
  14. InfluxDB学习之InfluxDB的基本操作| Linux大学
  15. How to Pronounce the Months of the Year
  16. bootstrap2.2相关文档
  17. CCCC L2-022. 重排链表
  18. (二) MySQL常用命令及语法规范
  19. adobe acrobat 无效批注对象
  20. PHP消息队列实现

热门文章

  1. 安装typescript环境并开启VSCode自动监视编译ts文件为js文件
  2. MySQL-4-DDL
  3. 论文解读(SR-GNN)《Shift-Robust GNNs: Overcoming the Limitations of Localized Graph Training Data》
  4. Codeforces Round #779 (Div. 2)
  5. java的elasticsearch做高亮显示
  6. 2022年字节跳动基础架构前端实习生凉经(4轮技术面+hr面)
  7. 外贸ERP系统哪些模块比较重要?得具备什么功能?
  8. Trie树模板1字符串统计
  9. Sentry的安装、配置、使用
  10. element多重校验报please transfer a valid prop path to form item