随笔分类 - 数据库
摘要:一、创建批量更新存储过程 CREATE PROCEDURE update_edge_charge_status() BEGIN /* * 更新门禁收费状态. */ -- 1.创建临时表 CREATE TEMPORARY TABLE unit_tmp AS SELECT unit.id,unit.st
阅读全文
摘要:一、下载Mysql 下载地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads 二、环境配置 检测系统是否自带Mysql rmp -qa|grep mysql 如果有进行强行卸载 rpm -e --nodeps mysql-libs-5
阅读全文
摘要:Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functiona
阅读全文
摘要:数据库 validationQuery Oracle select 1 from dual DB2 select 1 from sysibm.sysdummy1 mysql select 1 microsoft sql select 1 hsqldb select 1 from INFORMATION_SCHEMA.SYSTEM_USERS postgres...
阅读全文
摘要:一、oracle批量插入 二、mysql批量插入 总结: 1、oracle中没有values关键字 2、oracle的foreach中的separator值是UNION ALL ,mysql的foreach中的separator值是逗号 3、oracle的foreach中的语句需要(select .
阅读全文
摘要:报错:### Error updating database. Cause: java.sql.SQLException: ORA-00926: 缺失 VALUES 关键字### The error may involve com.cn.ssm.dao.OrderSatisFactionDao.ad
阅读全文