Oravcle积累
来源:互联网 发布:淘宝培训机构 编辑:程序博客网 时间:2024/09/21 09:06
select *,connect_by_isleaf LEAF,LEVEL LV from T_CASE where (DATE_BEGIN<=sysdate or DATE_BEGIN is null) and ACTUAL_IMPLEMENT_MAIN=? and exists (select f.case_id from t_bl_define_flow f where actual_case_id=f.case_id and f.phase='jj' and f.target='0') start with PID is null connect by prior ACTUAL_CASE_ID=PID and prior flag='1' and prior isshow='1' and prior version=version order siblings by NLSSORT(CASE_NAME, 'NLS_SORT=SCHINESE_PINYIN_M')<!-- LEVEL LV LEVEL关键字定义一个字段LV,来显示树的层级,从1开始--><!-- exists()适合外表结果集小 in适合内外表结果集都很大--><!-- sysdate 获取当前时间--><!-- connect_by_isleaf 新增一个判断树叶的字段,0不是,1是 start with pid is null 初始记录 connect by prior a=b 上一条记录的a是这一条记录的父母,也就是b order siblings by NLSSORT(字段,"策略")兄弟姐妹间的排序 NLSSORT为排序策略,有三种策略 NLSSORT(字段名,'NLS_SORT = SCHINESE_PINYIN_M')拼音 NLSSORT(字段名,'NLS_SORT = SCHINESE_STROKE_M')笔画 NLSSORT(字段名,'NLS_SORT = SCHINESE_RADICAL_M')部首-->
阅读全文
0 0
- Oravcle积累
- oravcle “ora-12541:TNS:无监听程序”
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- 积累
- <Shader> 最终版本的水纹效果
- ubuntu12.04 挂载samba网盘命令
- (138)lightmass 全局光照
- nginx memcache Tomcat
- Linux(CentOS7) 系统中指定机器的IP地址(静态IP)
- Oravcle积累
- 22、vue.js 之常用的一些数据处理方法
- Apache Tiles教程
- Chrome接口调试插件、浏览器接口调试插件、浏览器接口调试工具
- Spring Cloud Netflix的3大组件应用 Eureka&Ribbon&Hystrix
- 我对AOP(面向切面编程)的理解
- 一种整数数据压缩存储的算法实现
- Uncaught SyntaxError: embedded: Expected corresponding JSX closing tag for <input>
- Spring的AOP详解和案例