SQL/Redshift
Redshift : replace (텍스트 바꾸기)
CosmosProject
2020. 12. 17. 02:07
728x90
반응형
replace(text, old_text, new_text);
text에서 old_text를 new_text로 변환합니다.
select replace('123abc123', '1', 'z');
-> 결과 : z23abcz23
728x90
반응형