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


Please Help Members By Posting Answers For Below Questions

What are the topics in pl sql?

521


What is varray in pl sql?

566


what is union, minus and interact commands? : Sql dba

662


How do I run a pl sql program?

629


When you have to use a default "rollback to" savepoint of plvlog?

723






How does an execution block start and end in pl sql?

500


Can a foreign key be a duplicate?

508


What is the difference between microsoft access and sql server?

533


Explain the methods used to protect source code of pl/sql.

546


Explain the significance of the & and && operators in pl sql.

574


What is indexing oracle sql?

563


define sql delete statement ? : Sql dba

560


How do you define a foreign key?

538


Does sql*plus have a pl/sql engine?

572


What do you understand by pl/sql records?

535