上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: import java.text.DateFormat;import java.text.ParsePosition;import java.text.SimpleDateFormat;import java.util.*; /** * 获取两个时间之间的间隔天数 * @param startTim 阅读全文
posted @ 2021-09-02 14:31 雁书几封 阅读(2258) 评论(0) 推荐(0) 编辑
摘要: 需求:将map里的key转换为驼峰命名,并返回 package com.enation.app.javashop.framework.util; import java.util.HashMap; import java.util.Iterator; import java.util.Map; im 阅读全文
posted @ 2021-08-31 15:42 雁书几封 阅读(1453) 评论(0) 推荐(0) 编辑
摘要: 1、前导like -- 生效 explain select * from cartoon where `name` like '家里来了位道长大人%' -- 不生效 explain select * from cartoon where `name` like '%555%' 2、”or”条件 3、 阅读全文
posted @ 2021-06-22 22:31 雁书几封 阅读(659) 评论(0) 推荐(0) 编辑
摘要: 语法 -- 备份整个表和数据 select * into xxxx_20210528 from xxxx; 添加字段 -- 给某个表添加一个tinyint类型的字段,添加默认是为1 alter table [表名] add 字段名 tinyint default 1; -- 给某个表添加一个varc 阅读全文
posted @ 2021-05-28 11:05 雁书几封 阅读(1105) 评论(0) 推荐(0) 编辑
摘要: 需求:浏览器标签页切换,监听事件 <script> var hiddenProperty = 'hidden' in document ? 'hidden' : 'webkitHidden' in document ? 'webkitHidden' : 'mozHidden' in document 阅读全文
posted @ 2021-05-12 09:40 雁书几封 阅读(1249) 评论(0) 推荐(1) 编辑
摘要: 修改两个配置文件(默认路径): D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN listener.ora # listener.ora Network Configuration File: D:\app\Administrato 阅读全文
posted @ 2021-03-15 17:15 雁书几封 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 碰到过由于监听日志文件大小达到几G,使得在连接时非常慢,像hang住一样,windows下的监听日志达到4G限制,后续连接如果无法写监听日志,就会产生TNS-12537 ora-12541 报错,可以通过关闭写监听日志文件去避免 关闭listener监听日志>>>> C:\Users\XXX>lsn 阅读全文
posted @ 2021-03-15 17:11 雁书几封 阅读(38) 评论(0) 推荐(0) 编辑
摘要: sqlplus --第1步:创建临时表空间 create temporary tablespace xxx_TEMP tempfile 'D:\app\Administrator\oradata\xxx_TEMP.dbf' size 50m autoextend on next 50m maxsiz 阅读全文
posted @ 2021-03-15 17:09 雁书几封 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 1、sql select @rownum := @rownum + 1 as 'row',a.service_goods_name,a.num from ( select t.service_goods_name,count(t.service_goods_id) as num,t.ser_addr 阅读全文
posted @ 2020-12-08 23:51 雁书几封 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 一、基本语句,剩下的自己组合。 ALTER proc getStudentNum(@param nvarchar(50),@StuNum int output) as select @StuNum=count(*) from BASE_LOG_INFO where CREATEOPER=@param 阅读全文
posted @ 2020-12-08 11:15 雁书几封 阅读(963) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页