自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 oracle日期加1天

时间比较问题,通常边缘时间需要处理1.参数加一天参数:Date endTimeCalendar calendar = Calendar.getInstance();calendar.setTime(endTime);calendar.set(Calendar.HOUR_OF_DAY, 23);calendar.set(Calendar.MINUTE, 59);calendar....

2018-10-23 16:47:47 12294

原创 两个时间段取交集

背景:数据库存放一个时间段,参数传过来一个时间段,看是否有交集数据数据库:author_start、author_end         参数:startTime、endTime思路:1.正向思维:找两个区间的交集y.author_start<=endTime and (y.author_end + 1)>=startTime2.逆向思维:找出不冲突的时间取反...

2018-10-23 16:42:31 5945 2

原创 Oracle中的instr()函数 详解及应用

1)instr()函数的格式  (俗称:字符查找函数)格式一:instr( string1, string2 )    /   instr(源字符串, 目标字符串)格式二:instr( string1, string2 [, start_position [, nth_appearance ] ] )   /   instr(源字符串, 目标字符串, 起始位置, 匹配序号)解析:str...

2018-10-23 16:29:30 621

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除