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 union and union all keyword in sql?
What are different types of queries in sql?
What does <> sql mean?
What is not null in sql?
What are records give examples?
What are the different sql commands?
what is the difference between cluster and non cluster index? : Sql dba
Why procedure is used in sql?
how to check server status with 'mysqladmin'? : Sql dba
What does a pl/sql package consist of?
how to show all tables with 'mysql'? : Sql dba
Describe sql comments?
Can we create clustered index without primary key?
Explain table and field in sql?
Explain the steps needed to create the scheduled job?