当前位置:网站首页>Oracle split branches
Oracle split branches
2022-07-25 05:04:00 【A little opinion】
WITH Z_BRANCH AS(
SELECT 'BR1001' BRID, 'BR1001.BR1002.BR1003' BR_LEVEL FROM DUAL
UNION ALL
SELECT 'BR1002' BRID, 'BR1002.BR1003' BR_LEVEL FROM DUAL
UNION ALL
SELECT 'BR1003' BRID, 'BR1001.BR1003' BR_LEVEL FROM DUAL
)
SELECT BRID,
LEVEL,
REGEXP_COUNT(BR_LEVEL, '\.') + 1 AS ROW_CNT,
REGEXP_SUBSTR(BR_LEVEL, '[^.]+', 1, LEVEL) AS S_BRID
FROM Z_BRANCH T
CONNECT BY LEVEL <= REGEXP_COUNT(BR_LEVEL, '\.') + 1
AND T.BRID = PRIOR T.BRID
AND PRIOR DBMS_RANDOM.VALUE > 0;
边栏推荐
- How to get the database creation time?
- Harbor installation
- epoll的实现原理
- Introduction to CpG control network
- Druid connection pool - strong self-study from 0. Those who don't understand Druid can click in. If you know not to click in, you will think I'm wordy
- [wechat applet] picker scroll selector (85/100)
- 5年经验的大厂测试/开发程序员,怎样突破技术瓶颈?大厂通病......
- 如何判断是否遭到DDOS攻击
- MCU experiment record
- Leetcode55. Jumping game
猜你喜欢

Permanent magnet synchronous motor 36 question (1) -- what is the difference between salient pole motor and salient pole motor?
[small program practice] first day

中创算力荣获「2022年科技型中小企业」认定

Information System Project Manager --- Chapter IX examination questions of project human resource management over the years

Small case of data analysis: visualize recruitment data and view the most needed technologies in the field~
![[literature notes] pointmlp](/img/8f/654dc6e2f4770b7f12aab49098d3d7.png)
[literature notes] pointmlp
![[CTF learning] steganography set in CTF -- picture steganography](/img/32/2da78bd5866cfab9ee64dfcb1c1204.png)
[CTF learning] steganography set in CTF -- picture steganography

Xiaohongshu joins hands with HMS core to enjoy HD vision and grow grass for a better life

Data link layer protocol -- Ethernet protocol

When we talk about immutable infrastructure, what are we talking about
随机推荐
5年经验的大厂测试/开发程序员,怎样突破技术瓶颈?大厂通病......
Purpose of setting novice task period in the integral system
etcd学习
推荐系统-协同过滤在Spark中的实现
Deep understanding of pod
[CTF learning] steganography set in CTF -- picture steganography
Introduction to FileStream class of C #
Natural state is the best
Introduction to CpG control network
PyG搭建GCN实现链接预测
Ora-01460: conversion request cannot be implemented or unreasonable
Implementation of recommendation system collaborative filtering in spark
[no title] 1
rhce第一天
Seven suggestions for Server Protection
nacos中哪边有这个列的sql脚本啊?
Zhongchuang computing power won the recognition of "2022 technology-based small and medium-sized enterprises"
2022-7-18 summary
The 6th "Blue Hat Cup" National College Students' Cyber Security Skills Competition writeup
It we media shows off its wealth in a high profile, and is targeted by hacker organizations. It is bound to be imprisoned