DB
[DB] Upper Usage
AlexHouse
2023. 2. 15. 14:51
How can we use the Upper method?
That's easy!
Method

AND UPPER(TRIM(MANAGE_CODE)) LIKE ('%'||#{SERCHKEYWORD}||'%')
다음과 같이 두면 f -> F 가 작동되질 않는다.
Resolve

AND UPPER(TRIM(MANAGE_CODE)) LIKE UPPER('%'||#{SERCHKEYWORD}||'%')
// 변수 명에도 괄호로 닫고 UPPER로 감싸주면 작동이 가능하다.

To be continued..