본문 바로가기 메뉴 바로가기

보조기억장치

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

보조기억장치

검색하기 폼
  • 분류 전체보기 (13)
    • Windows (1)
    • Unix/Linux (7)
    • Music (0)
    • Oracle (2)
    • Book Summary (0)
    • Eng Drama (0)
  • 방명록

oracle (1)
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
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • RedHat8 #network 껏다켜기
  • outlook 검색
  • TDL
  • LC_ALL #LANG #한글깨짐
  • SQL
  • oracle
  • decode
  • dlsym()
  • common_parser #oracle19c #pro*c #DBIO
  • jdk5 #autoboxing #unboxing #redjacob
  • struct padding #struct align
  • ksh
  • dlclose()
  • like
  • c #long_to_char_and_restore
  • dlerror()
  • dlopen()
more
«   2025/09   »
일 월 화 수 목 금 토
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 29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바