■ RPAD 함수 : 문자열 오른쪽 채우기

------------------------------------------------------------------------------------------------------------------------

SELECT RPAD('55'        , 10, '0'    ) FROM DUAL; -- '5500000000'

 

SELECT RPAD('12345678'  , 5          ) FROM DUAL; -- '12345'

 

SELECT RPAD('HITOP TIES', 43, 'sell!') FROM DUAL; -- 'HITOP TIESsell!sell!sell!sell!sell!sell!sel'

------------------------------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요