with t as
(
select '05A01BA' txt from dual union all
select '04B01CA' from dual
)
select * from t
where 1 = 1
--and regexp_replace(txt,'[^0-9]') = '0501'
and translate(txt,'1234567890'||txt,'1234567890') = '0501'
by 프리빵
[2017.07.19 15:24:33]
감사합니다
댓글등록
SQL문을 포맷에 맞게(깔끔하게) 등록하려면 code() 버튼을 클릭하여 작성 하시면 됩니다.