본문 바로가기
반응형

개발112

Oracle - NVL , NVL2 함수 사용 NVL 함수는 대상 '컬럼'에 값이 null 일 경우 다른 값으로 변환해주는 함수다NVL2 함수는 첫 번째 인수가 null 이 아니면 두 번째 인수를, null 이라면 세 번째 인수를 반환한다예) NVLSELECT A , NVL(B , 0) FROM DUAL예) NVL2SELECT A , NVL2(B , 'null 이 아닐때' , 'null 일때') FROM DUAL- SELECT 1 , NVL2(2 , 'null 이 아닐때' , 'null 일때') FROM DUAL   문제는 데이터 자체가 조회가 안될 때 값을 표현해야 할 때가 있다예) NVLSELECT A , NVL(MAX(B) , 0) FROM DUALSELECT A , NVL(MIN(B) , 0) FROM DUALMAX 또는 MIX을 사용하면 임.. 2024. 9. 26.
[SpringBoot] Security + JWT(Access , Refresh) - Controller 이전글https://greed-yb.tistory.com/291 [SpringBoot] Security + JWT(Access , Refresh) - Handler이전글https://greed-yb.tistory.com/290 [SpringBoot] Security + JWT(Access , Refresh) - JwtAuthenticationFilter이전글https://greed-yb.tistory.com/289 [SpringBoot] Security + JWT(Access , Refresh) - JwtTokenUtil이전글https://greed-yb.tistory.com/2greed-yb.tistory.com  controller.classimport com.example.practice.secur.. 2024. 9. 25.
[SpringBoot] Security + JWT(Access , Refresh) - Handler 이전글https://greed-yb.tistory.com/290 [SpringBoot] Security + JWT(Access , Refresh) - JwtAuthenticationFilter이전글https://greed-yb.tistory.com/289 [SpringBoot] Security + JWT(Access , Refresh) - JwtTokenUtil이전글https://greed-yb.tistory.com/288 [SpringBoot] Security + JWT(Access , Refresh) - SecurityConfig권한에 따른 인증/인가 방식은 이전greed-yb.tistory.com    Security Config 에 설정하는 Exception Handler 다 WebAccessDe.. 2024. 9. 25.
[SpringBoot] Security + JWT(Access , Refresh) - JwtAuthenticationFilter 이전글https://greed-yb.tistory.com/289 [SpringBoot] Security + JWT(Access , Refresh) - JwtTokenUtil이전글https://greed-yb.tistory.com/288 [SpringBoot] Security + JWT(Access , Refresh) - SecurityConfig권한에 따른 인증/인가 방식은 이전글을 참고하길 바란다https://greed-yb.tistory.com/223 [SpringBoot] Security 로그인 인증,greed-yb.tistory.com   filter.classimport com.example.practice.security.jwt.JwtTokenUtil;import com.example.prac.. 2024. 9. 25.
[SpringBoot] Security + JWT(Access , Refresh) - JwtTokenUtil 이전글https://greed-yb.tistory.com/288 [SpringBoot] Security + JWT(Access , Refresh) - SecurityConfig권한에 따른 인증/인가 방식은 이전글을 참고하길 바란다https://greed-yb.tistory.com/223 [SpringBoot] Security 로그인 인증, 인가(1) - 환경설정Java 17MavenSpring Boot 3.0.3Spring Security 6.0.2Oracle 11gMybatisIntelliJ Ultimagreed-yb.tistory.com  util.classimport com.auth0.jwt.JWT;import com.auth0.jwt.algorithms.Algorithm;import com.aut.. 2024. 9. 25.
[SpringBoot] Security + JWT(Access , Refresh) - SecurityConfig 권한에 따른 인증/인가 방식은 이전글을 참고하길 바란다https://greed-yb.tistory.com/223 [SpringBoot] Security 로그인 인증, 인가(1) - 환경설정Java 17MavenSpring Boot 3.0.3Spring Security 6.0.2Oracle 11gMybatisIntelliJ UltimateDBeaverThymeleaf 폴더 구조더보기 Security 한번 구현해보겠다고 일주일 내내 작업한거 같다거의 대부분의 예제들은 3.0.0 이하의 버전greed-yb.tistory.com   Java 17MavenSpring Boot 3.0.3Spring Security 6.0.2Oracle 11gMybatisIntelliJ UltimateDBeaverThymeleaf .. 2024. 9. 25.
반응형