随笔分类 -  数据库

摘要:一、创建批量更新存储过程 CREATE PROCEDURE update_edge_charge_status() BEGIN /* * 更新门禁收费状态. */ -- 1.创建临时表 CREATE TEMPORARY TABLE unit_tmp AS SELECT unit.id,unit.st 阅读全文
posted @ 2020-11-02 14:35 孤独二世 阅读(396) 评论(0) 推荐(0) 编辑
摘要:一、下载Mysql 下载地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads 二、环境配置 检测系统是否自带Mysql rmp -qa|grep mysql 如果有进行强行卸载 rpm -e --nodeps mysql-libs-5 阅读全文
posted @ 2019-12-10 15:34 孤独二世 阅读(10793) 评论(0) 推荐(0) 编辑
摘要:Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functiona 阅读全文
posted @ 2019-03-27 15:43 孤独二世 阅读(662) 评论(0) 推荐(0) 编辑
摘要:数据库 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... 阅读全文
posted @ 2019-03-22 11:04 孤独二世 阅读(1402) 评论(0) 推荐(0) 编辑
摘要:一、oracle批量插入 二、mysql批量插入 总结: 1、oracle中没有values关键字 2、oracle的foreach中的separator值是UNION ALL ,mysql的foreach中的separator值是逗号 3、oracle的foreach中的语句需要(select . 阅读全文
posted @ 2018-11-29 15:20 孤独二世 阅读(976) 评论(0) 推荐(0) 编辑
摘要:报错:### Error updating database. Cause: java.sql.SQLException: ORA-00926: 缺失 VALUES 关键字### The error may involve com.cn.ssm.dao.OrderSatisFactionDao.ad 阅读全文
posted @ 2018-11-29 14:32 孤独二世 阅读(5625) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示