oracle decode를 사용시 like비교를 할수 없으므로, case 문을 써야 함
oracle decode를 사용하면 like비교를 할수 없다. 이때는 case 문을 써야 한다. 아래 샘플은 Proframe5c의 DBIO 구조체 이름을 조회해서 DBIO명을 추출하는 쿼리이다. select distinct case when resource_id like '%Bundle' then substr(resource_id, 1, length(resource_id)-6) when trim(resource_id) like '%BundleOut' then substr(resource_id, 1, length(resource_id)-9) when resource_id like '%Out' then substr(resource_id, 1, length(resource_id)-3) when resource..
Oracle
2021. 1. 28. 15:14
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- dlopen()
- ksh
- oracle
- decode
- LC_ALL #LANG #한글깨짐
- dlclose()
- jdk5 #autoboxing #unboxing #redjacob
- common_parser #oracle19c #pro*c #DBIO
- dlsym()
- dlerror()
- like
- RedHat8 #network 껏다켜기
- outlook 검색
- SQL
- c #long_to_char_and_restore
- TDL
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함