MySQL中的describe关键字
来源:互联网 发布:怎么用c语言打印三角形 编辑:程序博客网 时间:2024/05/21 11:13
今天写代码的时候,有一个类的数据始终不能插入,老是提示在You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe。
因为用的是mybatis进行插入,所以写SQL语句的时候删掉这个字段就不会报错,加上这个字段添加和查询又会报错,纠结了很久,最后终于试着把describe改为describes,再重新生成model,xml,mapper文件终于成功了。可以正常插入数据,也可以正常查询了
后面在网上一查,describe竟然是mysql中的关键词,我们不能用这个作为数据库中的表的字段。
0 0
- MySQL中的describe关键字
- MySQL中的describe关键字
- MySQL中的describe关键字
- mysql中的describe语法详解
- mysql中的like关键字
- mysql中的关键字
- mysql中的关键字
- MySQL中的关键字
- MYSQL中的关键字
- DESCRIBE
- 浅谈Mysql中的limit关键字
- MySQL语句之describe,explain,help,use
- PB中的Describe,Evaluatate,LookUpDisplay小结
- PB中的Describe,Evaluatate,LookUpDisplay小结
- PB中的Describe,Evaluatate,LookUpDisplay小结
- PB中的Describe,Evaluatate,LookUpDisplay小结
- PB中的Describe,Evaluatate,LookUpDisplay小结
- PB中的Describe,Evaluatate,LookUpDisplay小结
- i2c的个人理解
- jsp中的内容都消失了,已解决。
- 程序员做事方法以及思路
- 变量提升
- Sublime text 3最新版破解方法
- MySQL中的describe关键字
- 微信小程序中的position问题
- linux io storage stack之我的理解
- Linux 环境下C/C++获取系统时间 && 每隔500ms循环一次代码实现
- Android 6.0权限+RxPermissions使用
- 响应“上上下下左左右右”按键键事件 && “按两次返回键退出”
- 使用Unity开发Android的几种调试方法
- JAVA动态加载JAR包
- C++ Primer Chapter 10-1