上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 203 下一页
摘要: 需求:某系统将诸多服务器状态定时存到在一张表里,查询时会给出一个时间,要求取出最接近于给定时间,又不可大于的一批记录。 比如,有gp、dws、etl三台服务器,8:00,9:00,10:00,11:00都有记录存储了它们的状态,当给定10:30时,就该取出10:00的那批记录。 存储数据的表结构如下 阅读全文
posted @ 2021-10-22 21:09 逆火狂飙 阅读(346) 评论(0) 推荐(0)
摘要: 取整语句: select trunc(12345.678,2), trunc(12345.678,1), trunc(12345.678,0), trunc(12345.678,-1), trunc(12345.678,-2) from dual 执行效果: SQL> select 2 trunc( 阅读全文
posted @ 2021-10-21 19:02 逆火狂飙 阅读(532) 评论(0) 推荐(0)
摘要: 拷贝文字后,在Sql plus创库->右键点标题栏->编辑->粘贴,就好了。 END 阅读全文
posted @ 2021-10-21 18:37 逆火狂飙 阅读(142) 评论(0) 推荐(0)
摘要: SQL: select to_char((sysdate-interval'1'day),'yyyy-mm-dd') as yesterday, to_char((sysdate-interval'1'month),'yyyy-mm-dd') as oneMonthAgo, to_char((sys 阅读全文
posted @ 2021-10-20 21:13 逆火狂飙 阅读(1118) 评论(0) 推荐(0)
摘要: 建表语句: create table defects( id number(4), code varchar2(6), type varchar2(10) check(type='oper' or type='sql' or type='api'), status number(1) check(s 阅读全文
posted @ 2021-10-19 20:41 逆火狂飙 阅读(369) 评论(0) 推荐(0)
摘要: defects表结构: create table defects( id number(4), code varchar2(6), type varchar2(10) check(type='oper' or type='sql' or type='api'), status number(1) c 阅读全文
posted @ 2021-10-19 20:32 逆火狂飙 阅读(96) 评论(0) 推荐(0)
摘要: 使用同底对数函数和指数函数奇特的对称性解决问题“若x1满足2^x=5-x,x2满足x+log2_x=5,则x1+x2=”,并采用Canvas绘图辅助分析,并采用牛顿中值法求两方程的高精度近似解以验证结论。 阅读全文
posted @ 2021-10-17 08:15 逆火狂飙 阅读(58) 评论(0) 推荐(0)
摘要: 直接用元素的classname属性指定即可。 Sample code: document.getElementById("error-menu").className = "nav nav-list collapse in"; var liArr=document.getElementById("e 阅读全文
posted @ 2021-10-16 23:19 逆火狂飙 阅读(759) 评论(0) 推荐(0)
摘要: Jsp里有方便的including,Thymeleaf里怎么用呢?可以用th:replace,下面直接就案例来说明。 比如有这么一个左侧导航栏: <div class="sidebar-nav"> <a href="#dashboard-menu" class="nav-header" data-t 阅读全文
posted @ 2021-10-16 22:26 逆火狂飙 阅读(71) 评论(0) 推荐(0)
摘要: 用Html5/Canvas绘制朝鲜国旗圆饼。 阅读全文
posted @ 2021-10-16 22:10 逆火狂飙 阅读(85) 评论(0) 推荐(0)
上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 203 下一页
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东