문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 | |||
dbms:oracle:devel:regexp:regexp_substr [2018/05/09 02:45] starlits [첫단어 가져오기] |
dbms:oracle:devel:regexp:regexp_substr [2019/03/05 00:40] (현재) starlits [구분자로 나누기] |
||
---|---|---|---|
줄 125: | 줄 125: | ||
--- - ----- | --- - ----- | ||
147 1 36126 | 147 1 36126 | ||
+ | </ | ||
+ | |||
+ | - 공백으로 나눈다 <code sql> | ||
+ | with v_time as ( | ||
+ | select '2016. 1. 29. 오후 11: | ||
+ | ) | ||
+ | select | ||
+ | time | ||
+ | , | ||
+ | || REGEXP_SUBSTR(time,' | ||
+ | || REGEXP_SUBSTR(time,' | ||
+ | , | ||
+ | || REGEXP_SUBSTR(time,' | ||
+ | || REGEXP_SUBSTR(time,' | ||
+ | from v_time; | ||
+ | </ | ||
+ | - 결과값 < | ||
+ | TIME | ||
+ | ------------------------ | ||
+ | 2016. 1. 29. 오후 11: | ||
</ | </ | ||