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 / dilip kumar

SELECT REGEXP_REPLACE (
Replace ('A.B....C.......D.........E........F', '.', ' '),
'( ){1,}',
'.')
FROM DUAL;

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is materialized view. What are different methods of refresh?

783


What are analytic functions in sql?

551


What is the purpose of the partition table?

546


How many types of privileges are available in sql?

739


Is mariadb a nosql database?

542






How do you create an update query?

524


Can we create clustered index without primary key?

525


how to show all tables with 'mysql'? : Sql dba

610


What is a join?

628


Explain mutating table error.

649


What is sqlite format?

633


What is latest version of sql?

527


What is trigger in flip flop?

518


Is time a data type in sql?

482


what is msql? : Sql dba

568