본문 바로가기

홍이의 개발 노트

검색하기
홍이의 개발 노트
프로필사진 코바

  • 모든 이야기 (34)
    • 유용한 이야기 (3)
    • 개발이야기 (31)
      • 자바(java) (1)
      • 자바스크립트(javascript) (3)
      • 스프링(Spring) (21)
      • 이클립스(Eclipse) (2)
      • 그루비(Groovy) (1)
      • 오라클(oracle) (1)
      • 기타 (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/08   »
일 월 화 수 목 금 토
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
31
Tags
  • KSUG
  • spring cloud config
  • spring boot 1.3
  • WebApplicationInitializer
  • ServletContextInitializer
  • OAuth2.0
  • @MVC
  • 스프링 부트
  • mybatis
  • 스프링
  • 스프링시큐리티
  • elasticache
  • spring
  • apache thrift
  • spring camp
  • spring cloud
  • spring-mybatis
  • devtools
  • 데브툴즈
  • Fiilter
  • 인텔리J
  • Spring Boot
  • spring boot mybatis
  • spring boot devtools
  • spring test mvc
  • Spring MVC
  • OAuth 2.0
  • Spring Security OAuth
  • spring security
  • Multi DataSource
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록SQL (1)

홍이의 개발 노트

오라클에서 SQL로 달력 만들기

select min(decode(dd, 1, lvl)) as 일, min(decode(dd, 2, lvl)) as 월, min(decode(dd, 3, lvl)) as 화, min(decode(dd, 4, lvl)) as 수, min(decode(dd, 5, lvl)) as 목, min(decode(dd, 6, lvl)) as 금, min(decode(dd, 7, lvl)) as 토 from (select to_number(to_char(yyyy + level - 1, 'D')) as dd, to_number(to_char(yyyy + level - 1, 'w')) as ww, to_char(yyyy, 'D') as dd1, level as lvl from (select trunc(sysdate,'mm'..

개발이야기/오라클(oracle) 2010. 5. 31. 09:46
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바