문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 | 다음 판 양쪽 다음 판 | ||
dbms:oracle:devel:regexp:regexp_substr [2018/05/09 02:41] starlits [주소문자열 자르기] |
dbms:oracle:devel:regexp:regexp_substr [2018/05/09 02:44] starlits [뒷자리 4자리만 가져오기] |
||
---|---|---|---|
줄 152: | 줄 152: | ||
select substr(phone, | select substr(phone, | ||
from cust; | from cust; | ||
+ | </ | ||
+ | |||
+ | ===== 첫단어 가져오기 ===== | ||
+ | - 숫자/ | ||
+ | SELECT REGEXP_SUBSTR(' | ||
+ | </ | ||
+ | - 스페이스가 있기 전까지의 첫단어 <code sql> | ||
+ | SELECT REGEXP_SUBSTR(' | ||
</ | </ |