WITH t AS
(
SELECT '000342400RRF' txt FROM dual
UNION ALL SELECT '002340243EF' FROM dual
UNION ALL SELECT '01323428RSS' FROM dual
)
SELECT txt
, LTRIM(txt, '0') x
FROM t
;
by idoris
[2020.12.16 09:31:51]
감사합니다!!
댓글등록
SQL문을 포맷에 맞게(깔끔하게) 등록하려면 code() 버튼을 클릭하여 작성 하시면 됩니다.