Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Simple SQL question
--
1 select regexp_replace('the cat sat on the mat', ' {2,}', '
')
2* from dual
SCOTT > /
REGEXP_REPLACE('THECAT
SCOTT > ed
Wrote file afiedt.buf
1* select regexp_replace('the cat sat on the mat',' +',' ')
from dual
SCOTT > /
REGEXP_REPLACE('THECAT
--
1* select replace(replace('the cat sat on the mat',' ','
'),' ',' ') from dual
SCOTT > /
REPLACE(REPLACE('THECA
![]() |
![]() |