Suppose There is a string
A.B....C.......D.........E........F In this string dots (.)
are not having fixed count in between of string. I want the
output to have string with one dot between. I.e.
A.B.C.D.E.F
Answer Posted / anuradha
SELECT REGEXP_REPLACE (
REPLACE ('A.B....C.......D.........E........F', '.', ' '),
'( ){2,}',
'.')
FROM DUAL;
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
what is a tablespace? : Sql dba
What are types of indexes in sql?
What is meant by <> in sql?
How do you optimize a query?
What is $$ in sql?
Is primary key clustered index?
Why trigger is used in sql?
What are the 3 modes of parameter?
What is java sql package?
What are the datatypes available in pl/sql ?
Write the alter statement to enable all the triggers on the t.students table.
What is a table partition?
How does postgresql compare to oracle/db2/ms sql server/informix?
What are some emotional triggers?
Does postgresql run on the cloud?