摘要: 一、安装redis首先在服务器上安装redis,若已安装,忽略这一步。 安装过程略。 二、新建redis配置文件根据原redis配置文件,创建新的配置文件 # 找到配置文件所在位置$ find / -name redis.conf/etc/redis.conf #跳转至文件所在目录$ cd /etc 阅读全文
posted @ 2022-11-09 11:23 汤姆汀 阅读(984) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/cool_summer_moon/article/details/106090136 阅读全文
posted @ 2020-09-21 21:44 汤姆汀 阅读(314) 评论(0) 推荐(0) 编辑
摘要: Tomcat 目录下的 conf 目录中的 logging.properties 文件修改 新增内容: java.util.logging.ConsoleHandler.encoding = GBK 阅读全文
posted @ 2020-09-09 23:46 汤姆汀 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 将时间戳的字段加0即可 阅读全文
posted @ 2020-06-15 09:07 汤姆汀 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 先排序获取新的行号后才能分页,否则行号会与排序冲突,导致结果不理想 select * from (select rownum , t.* from (select * from table order by oid desc) ) where rownum <10 and rownum >0; 阅读全文
posted @ 2020-06-03 18:36 汤姆汀 阅读(521) 评论(0) 推荐(0) 编辑
摘要: mysql版 select CONCAT( 'drop table ', table_name, ';' ) FROM information_schema.tables Where table_name LIKE '%_temp';"_temp"可以根据自己的实际情况改变,其他就不用改了,运行后得 阅读全文
posted @ 2020-05-26 11:54 汤姆汀 阅读(265) 评论(0) 推荐(0) 编辑
摘要: row_number() OVER (PARTITION BY COL1 ORDER BY COL2) 表示根据COL1分组,在分组内部根据 COL2排序,而此函数计算的值就表示每组内部排序后的顺序编号(组内连续的唯一的) 实例 : SELECT *, Row_Number() OVER (part 阅读全文
posted @ 2020-05-21 17:09 汤姆汀 阅读(1994) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/lqzkcx3/article/details/86573376 阅读全文
posted @ 2020-05-06 11:02 汤姆汀 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 如果两表字段相同,则可以直接这样用。insert into table_a select * from table_b如果两表字段不同,a表需要b中的某几个字段即可,则可以如下使用:insert into table_a(field_a1,field_a2,field_a3) select fiel 阅读全文
posted @ 2020-04-21 09:03 汤姆汀 阅读(3935) 评论(0) 推荐(0) 编辑
摘要: 一、webLogic服务域创建 https://blog.csdn.net/github_38922197/article/details/75097320 阅读全文
posted @ 2020-04-20 11:42 汤姆汀 阅读(234) 评论(0) 推荐(0) 编辑